Re: [libreoffice-users] Users support via Twitter

2015-05-16 Thread Brad Rogers
On Sat, 16 May 2015 14:17:11 +0200
Charles-H. Schulz charles.sch...@documentfoundation.org wrote:

Hello Charles-H.,

The point that has not been made yet is that while support on Twitter
may seem ill fated people do ask us support questions everyday there.
Redirecting them here or on ask.libreoffice.org is very much what most
of them want to avoid so we use this optionas a last resort.

Whether people use twitter for support of LO is of no consequence to my
point, which was - if people go there with a carefully crafted 141, or
more, character support request/tweet they might be pretty miffed when
they find it's over the 140 char limit.

-- 
 Regards  _
 / )   The blindingly obvious is
/ _)radnever immediately apparent
Black man got a lot of problems, but he don't mind throwing a brick
White Riot - The Clash

-- 
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted



Re: [libreoffice-users] Coding: Radio Buttons don't work

2015-05-16 Thread Regina Henschel

Hi Xaver,

X Roemer schrieb:

Hi,

I use always the same mechanism to add radio buttons by code. Usually I
add one after one, directly after each other, and they get grouped
automatically. But this time I can choose more than one and the others
don't get disabled. (See screenshot)

I know, it's better to show some code, but it would be a bit too much,
as the creation of widgets is splitted into several steps.

My questions are:
- Is there a mechanism to group radio buttons by code instead of adding
them one directly after the other?
- Can someone guess, what else can go wrong?


See 
https://wiki.openoffice.org/wiki/Documentation/BASIC_Guide/Control_Elements


There the last paragraph in section 'Option Buttons'
To combine several option buttons in a group, you must position them 
one after another in the activation sequence without any gaps 
(Model.TabIndex property, described as Order in the dialog editor). If 
the activation sequence is interrupted by another control element, then 
OpenOffice.org automatically starts with a new control element group 
that can be activated regardless of the first group of control elements.


So this is different from option buttons in forms, where grouping is 
done by the name property.


I have tested, that you really get a grouping, when the TabIndex is 
consecutive. That happens automatically, when you insert them in that order.


You can change the property 'Tab index' after you have inserted a 
control, but that will change the other tab indexes too. You might want 
to have a list of the wanted tab order when designing the dialog and 
start changing at tab index 0.


You can set and change the property TabIndex as well inside your program 
before executing the dialog. But unless you insert option buttons newly 
(instead of setting visible) when running your program, I think, that 
generating the dialog controls in the correct order while designing the 
dialog is much easier.


Kind regards
Regina

--
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted


Re: [libreoffice-users] Coding: Radio Buttons don't work

2015-05-16 Thread Regina Henschel

Hi Xaver,

X Roemer schrieb:

Hi Regina,

thanks for your reply also.

The TabIndex you're writing about sounds pretty much like what I'm
looking for - but I can't find it.
I use python / pyuno and I can't find a property called TabIndex or
something similar.


I use python / pyuno explains it. I have tested it with a StarBasic 
dialog. I have never used Python and therefore don't know whether it 
works the same there. The property TabIndex belongs to the service 
UnoControlDialogElement in com.sun.star.awt, see 
http://www.openoffice.org/api/docs/common/ref/com/sun/star/awt/UnoControlDialogElement.html


Perhaps you ask in the forum 
https://forum.openoffice.org/en/forum/viewforum.php?f=45 or 
http://ask.libreoffice.org/en/questions/

Please include in the subject, that it is about python.

Kind regards
Regina



--
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted


Re: [libreoffice-users] Coding: Radio Buttons don't work

2015-05-16 Thread X Roemer

Hi Regina,

thanks for your reply also.

The TabIndex you're writing about sounds pretty much like what I'm 
looking for - but I can't find it.
I use python / pyuno and I can't find a property called TabIndex or 
something similar.


In this folder are two screenshots with all the properties of a RadioButton:
https://github.com/XRoemer/Organon/tree/master/Screenshots/misc

Or is it the case, that TabIndex means the index in the parent container?

Well, I tried to add all mixed elements from a list (RadioButtons were 
directly after each other) and it didn't work.

When I add the RadioButtons in a separate loop, they work.

Sometimes it would be handy to have more control, as you might have more 
elements inbetween the RadioButtons. So the designing gets more 
complicated. Like here in the middle row, where the checkboxes are 
working like radiobuttons.
The advantage of a radiobutton is to see immediately what kind of 
choices are possible.


Regards,
Xaver





Am 16.05.2015 um 15:04 schrieb Regina Henschel:

Hi Xaver,

X Roemer schrieb:

Hi,

I use always the same mechanism to add radio buttons by code. Usually I
add one after one, directly after each other, and they get grouped
automatically. But this time I can choose more than one and the others
don't get disabled. (See screenshot)

I know, it's better to show some code, but it would be a bit too much,
as the creation of widgets is splitted into several steps.

My questions are:
- Is there a mechanism to group radio buttons by code instead of adding
them one directly after the other?
- Can someone guess, what else can go wrong?


See 
https://wiki.openoffice.org/wiki/Documentation/BASIC_Guide/Control_Elements


There the last paragraph in section 'Option Buttons'
To combine several option buttons in a group, you must position them 
one after another in the activation sequence without any gaps 
(Model.TabIndex property, described as Order in the dialog editor). If 
the activation sequence is interrupted by another control element, 
then OpenOffice.org automatically starts with a new control element 
group that can be activated regardless of the first group of control 
elements.


So this is different from option buttons in forms, where grouping is 
done by the name property.


I have tested, that you really get a grouping, when the TabIndex is 
consecutive. That happens automatically, when you insert them in that 
order.


You can change the property 'Tab index' after you have inserted a 
control, but that will change the other tab indexes too. You might 
want to have a list of the wanted tab order when designing the dialog 
and start changing at tab index 0.


You can set and change the property TabIndex as well inside your 
program before executing the dialog. But unless you insert option 
buttons newly (instead of setting visible) when running your program, 
I think, that generating the dialog controls in the correct order 
while designing the dialog is much easier.


Kind regards
Regina




--
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted


Re: [libreoffice-users] Coding: Radio Buttons don't work

2015-05-16 Thread X Roemer

Sorry, forgot the screenshot:
https://github.com/XRoemer/Organon/blob/master/Screenshots/Export%20vers%200.9.1b.png





Am 16.05.2015 um 15:51 schrieb X Roemer:

Hi Regina,

thanks for your reply also.

The TabIndex you're writing about sounds pretty much like what I'm 
looking for - but I can't find it.
I use python / pyuno and I can't find a property called TabIndex or 
something similar.


In this folder are two screenshots with all the properties of a 
RadioButton:

https://github.com/XRoemer/Organon/tree/master/Screenshots/misc

Or is it the case, that TabIndex means the index in the parent container?

Well, I tried to add all mixed elements from a list (RadioButtons were 
directly after each other) and it didn't work.

When I add the RadioButtons in a separate loop, they work.

Sometimes it would be handy to have more control, as you might have 
more elements inbetween the RadioButtons. So the designing gets more 
complicated. Like here in the middle row, where the checkboxes are 
working like radiobuttons.
The advantage of a radiobutton is to see immediately what kind of 
choices are possible.


Regards,
Xaver





Am 16.05.2015 um 15:04 schrieb Regina Henschel:

Hi Xaver,

X Roemer schrieb:

Hi,

I use always the same mechanism to add radio buttons by code. Usually I
add one after one, directly after each other, and they get grouped
automatically. But this time I can choose more than one and the others
don't get disabled. (See screenshot)

I know, it's better to show some code, but it would be a bit too much,
as the creation of widgets is splitted into several steps.

My questions are:
- Is there a mechanism to group radio buttons by code instead of adding
them one directly after the other?
- Can someone guess, what else can go wrong?


See 
https://wiki.openoffice.org/wiki/Documentation/BASIC_Guide/Control_Elements


There the last paragraph in section 'Option Buttons'
To combine several option buttons in a group, you must position them 
one after another in the activation sequence without any gaps 
(Model.TabIndex property, described as Order in the dialog editor). 
If the activation sequence is interrupted by another control element, 
then OpenOffice.org automatically starts with a new control element 
group that can be activated regardless of the first group of control 
elements.


So this is different from option buttons in forms, where grouping is 
done by the name property.


I have tested, that you really get a grouping, when the TabIndex is 
consecutive. That happens automatically, when you insert them in that 
order.


You can change the property 'Tab index' after you have inserted a 
control, but that will change the other tab indexes too. You might 
want to have a list of the wanted tab order when designing the dialog 
and start changing at tab index 0.


You can set and change the property TabIndex as well inside your 
program before executing the dialog. But unless you insert option 
buttons newly (instead of setting visible) when running your program, 
I think, that generating the dialog controls in the correct order 
while designing the dialog is much easier.


Kind regards
Regina







--
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted


Re: [libreoffice-users] Users support via Twitter

2015-05-16 Thread Brad Rogers
On Sat, 16 May 2015 02:48:08 +
toki toki.kant...@gmail.com wrote:

Hello toki,

On 16/05/2015 00:43, King Kong wrote:
 It's a challenge to craft a support question in 160 characters.  
There are several tools that take a statement, and tweet them as
strings of between 100 and 150 characters.  Using those, one doesn't

FYI:  Twitter limits you to 140 chars per tweet.

-- 
 Regards  _
 / )   The blindingly obvious is
/ _)radnever immediately apparent
Where will you be when the bodies burn?
The Gasman Cometh - Crass

-- 
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted



Re: [libreoffice-users] Coding: Radio Buttons don't work

2015-05-16 Thread X Roemer

Hi Johnny,

thanks for your reply.

Usually my radio buttons are working. Just in this case, they don't. - 
And all of them had the same listener.
But I discovered that I can get them working, when I don't set all of 
the buttons, labels etc. in one loop. I seperated the radio buttons and 
set them in an extra loop. Now they are working again.


That doesn't make much sense to me, but at least it works.




2015-05-16 13:08 GMT+02:00 Johnny Rosenberg gurus.knu...@gmail.com 
mailto:gurus.knu...@gmail.com:


   2015-05-16 8:59 GMT+02:00 X Roemer x-roe...@web.de
   mailto:x-roe...@web.de:

   Hi,

   I use always the same mechanism to add radio buttons by code.
   Usually I add one after one, directly after each other, and they
   get grouped automatically. But this time I can choose more than
   one and the others don't get disabled. (See screenshot)

   I know, it's better to show some code, but it would be a bit too
   much, as the creation of widgets is splitted into several steps.

   My questions are:
   - Is there a mechanism to group radio buttons by code instead of
   adding them one directly after the other?


   The first way that comes to my mind is to assign a macro to each one
   of them (the same macro). It's possible for a macro to determine
   which radiobutton the call came from, so what the macro could do is
   just to unselect all the other radio buttons.


Here's an example from my Maxy-Yatzy Game for Calc (OpenOffice, but I 
think that doesn't matter much in this case):

' Code starts here
Sub NumbersButton(Button As Object)
Dim ButtonName As String, ButtonNumber As Integer, State As Boolean
ButtonName=Button.Source.getModel().Name
ButtonNumber=GetButtonNumber(ButtonName)
ButtonState(ButtonNumber)=Not ButtonState(ButtonNumber)

'If Button state is TRUE, unselect Category.
If ButtonState(ButtonNumber) Then' Save relevant dice.
UnselectCategoryButtonPushed
Button.Source.getModel().setPropertyValue(TextColor,Black)
Else' Re-roll relevant dice.
Button.Source.getModel().setPropertyValue(TextColor,Gray)
EndIf

SetAllDiceState
SetRollButtonState(Auto)
End Sub
' End of code

In this case, Button is the object to use for determining what caused 
the subroutine  to start. I call a couple of functions in this to make 
things happen to other buttons and things like that. For instance, the 
name of the button that was pressed is found in 
Button.Source.getModel().Name.


In this case no radio buttons were involved, but that doesn't matter 
much. It would be pretty much the same. In this case it's just an 
ordinary button without a frame and with a unicode character label, for 
instance ”⚂”, so it looks like I'm clicking a die, but the procedure is 
the same for check boxes, radio buttons and even images. Everything 
that's clickable.


(OFF TOPIC: Maxy-Yatzy is a Swedish variant of Yatzee where six dice are 
used and you can save rolls for later. New categories, due to the six 
dices, are three pairs – XXYYZZ, five of a kind – X?, full straight 
– 123456, tower – XX and house – XXXYYY. A total of ≥84 p in the 
upper categories gives a 100 p Bonus, Maxi-Yatzy – XX, gives 100 p. 
That's pretty much it… kind of.)


Kind regards

Johnny Rosenberg
ジョニー・ローゼンバーグ



   Maybe there are better ways, I don't know…

   - Can someone guess, what else can go wrong?

   Regards,
   Xaver

   -- 
   To unsubscribe e-mail to:

   users+unsubscr...@global.libreoffice.org
   mailto:users%2bunsubscr...@global.libreoffice.org
   Problems?
   http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
   Posting guidelines + more:
   http://wiki.documentfoundation.org/Netiquette
   List archive: http://listarchives.libreoffice.org/global/users/
   All messages sent to this list will be publicly archived and
   cannot be deleted





Am 16.05.2015 um 09:03 schrieb X Roemer:

Screenshot can be found here:

https://github.com/XRoemer/Organon/blob/master/Screenshots/radio%20buttons%20dont%20work.png 









Am 16.05.2015 um 08:59 schrieb X Roemer:

Hi,

I use always the same mechanism to add radio buttons by code. Usually 
I add one after one, directly after each other, and they get grouped 
automatically. But this time I can choose more than one and the 
others don't get disabled. (See screenshot)


I know, it's better to show some code, but it would be a bit too 
much, as the creation of widgets is splitted into several steps.


My questions are:
- Is there a mechanism to group radio buttons by code instead of 
adding them one directly after the other?

- Can someone guess, what else can go wrong?

Regards,
Xaver







--
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/

Re: [libreoffice-users] Users support via Twitter

2015-05-16 Thread Charles-H. Schulz
Le 16 mai 2015 13:32:33 GMT+02:00, Brad Rogers b...@fineby.me.uk a écrit :
On Sat, 16 May 2015 02:48:08 +
toki toki.kant...@gmail.com wrote:

Hello toki,

On 16/05/2015 00:43, King Kong wrote:
 It's a challenge to craft a support question in 160 characters.  
There are several tools that take a statement, and tweet them as
strings of between 100 and 150 characters.  Using those, one doesn't

FYI:  Twitter limits you to 140 chars per tweet.

Let me suggest that interested readers simply browse the @LibreofficeHelp and 
@LibreOffice twitter account timelines in order to see what has been possible 
so far.

The point that has not been made yet is that while support on Twitter may seem 
ill fated people do ask us support questions everyday there. Redirecting them 
here or on ask.libreoffice.org is very much what most of them want to avoid so 
we use this optionas a last resort.

Best,
Charles. 


Hi,
-- 
Envoyé de mon appareil Android avec K-9 Mail. Veuillez excuser ma brièveté.

-- 
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted


Re: [libreoffice-users] Coding: Radio Buttons don't work

2015-05-16 Thread X Roemer

Screenshot can be found here:

https://github.com/XRoemer/Organon/blob/master/Screenshots/radio%20buttons%20dont%20work.png







Am 16.05.2015 um 08:59 schrieb X Roemer:

Hi,

I use always the same mechanism to add radio buttons by code. Usually 
I add one after one, directly after each other, and they get grouped 
automatically. But this time I can choose more than one and the others 
don't get disabled. (See screenshot)


I know, it's better to show some code, but it would be a bit too much, 
as the creation of widgets is splitted into several steps.


My questions are:
- Is there a mechanism to group radio buttons by code instead of 
adding them one directly after the other?

- Can someone guess, what else can go wrong?

Regards,
Xaver




--
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted


[libreoffice-users] Coding: Radio Buttons don't work

2015-05-16 Thread X Roemer

Hi,

I use always the same mechanism to add radio buttons by code. Usually I 
add one after one, directly after each other, and they get grouped 
automatically. But this time I can choose more than one and the others 
don't get disabled. (See screenshot)


I know, it's better to show some code, but it would be a bit too much, 
as the creation of widgets is splitted into several steps.


My questions are:
- Is there a mechanism to group radio buttons by code instead of adding 
them one directly after the other?

- Can someone guess, what else can go wrong?

Regards,
Xaver

--
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted


Re: [libreoffice-users] Base, connect to map/grid ?

2015-05-16 Thread Tim Deaton

On 5/13/2015 10:27 AM, IGraham wrote:

Base, can I link a database to a map/grid/spreadsheet grid – not really sure
how to ak this or what is possible, doable or worth attempting so bear with
me.
An explanation of what I want to do.
I like gardening and keep on buying plants and sticking them in around the
garden, most have difficult names and I have a crap memory. At some point
I'll be wandering around the garden see a plant and have no idea what it is.
I'd like to create a map of my garden and record where a plant is and its
name (common and Latin) etc in a database. Possibly such an application
already exists (free) if it does I haven’t found it.

So is it possible to connect a database to a map/grid/whatever to do what I
want

Any thoughts help appreciated



-
IGraham

W764  LibreOffice 4.4.1.2
--
View this message in context: 
http://nabble.documentfoundation.org/Base-connect-to-map-grid-tp4148544.html
Sent from the Users mailing list archive at Nabble.com.

Unless you're talking about a really BIG garden (ie: hundreds of 
plants), a true database seems to me like overkill.


I would suggest creating a map (on paper, or however is convenient for 
you) and overlaying it with a grid where each square equals no more than 
one square foot (or maybe 25 centimeters, since you're not in the USA).  
Title the rows  columns just like a spreadsheet would.


Then, ON a spreadsheet, I'd list everything you plant, with column A as 
the plant description, and column B being the grid location.  As you add 
more plants, you can either re-sort the table to keep the list in 
alphabetical order, or just insert new rows where they belong on the 
list.  (This provides the added convenience of adding more info in 
additional columns on the fly, if the need makes itself apparent.)


If that DOES get so large that a true database seems more convenient, 
this spreadsheet and map will have already given you a good head-start 
on how to design the database.


Hope this helps,
Tim Deaton

--
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted