A better understandable key in my example would be of course "DontShowAgain"... 
;-)

Am 10.02.2011 22:40, schrieb richard terry:
> On Friday 11 February 2011 06:59:15 Matti wrote:
> 
> Thanks, Matti, I'll digest this tonight when I get home.
> 
> Richard
> 
>> 1. Key parameter:
>> Looking at the source code, I found: key is just a string for a settings
>>  entry, you can choose it as you like.
>> You could for example do
>> Message.Optional("This is my message", "OK", "ShowAgain")
>> The message is displayed.
>> If you click on "Don't show this message again", an entry in the settings
>>  file is generated: [HiddenMessage] ShowAgain=True.
>> You find this file in ~.config/gambas3/ProjectName.conf
>> As long as the entry is "True", the message will not be displayed anymore.
>> Edit the file and set the entry to "False", and the message will show up
>>  again.
>>
>> 2. Only one button
>> This is just an information message. Nothing to decide, no more buttons
>>  needed.
>>
>> @ Benoît:
>> Message.Title doesn't work with Message.Optional.
>>
>> Regards
>> Matti
>>
>> Am 10.02.2011 04:33, schrieb richard terry:
>>> With Mesage.Optional a couple of questions
>>> 1) What is the key parameter for/how used.
>>>
>>> 2) Only one button name can be included, ?any reason
>>>
>>> Regards
>>>
>>> richard
>>>
>>> -------------------------------------------------------------------------
>>> ----- The ultimate all-in-one performance toolkit: Intel(R) Parallel
>>> Studio XE: Pinpoint memory and threading errors before they happen.
>>> Find and fix more than 250 security defects in the development cycle.
>>> Locate bottlenecks in serial and parallel code that limit performance.
>>> http://p.sf.net/sfu/intel-dev2devfeb
>>> _______________________________________________
>>> Gambas-user mailing list
>>> Gambas-user@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>
>> ---------------------------------------------------------------------------
>> --- The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio
>>  XE: Pinpoint memory and threading errors before they happen.
>> Find and fix more than 250 security defects in the development cycle.
>> Locate bottlenecks in serial and parallel code that limit performance.
>> http://p.sf.net/sfu/intel-dev2devfeb
>> _______________________________________________
>> Gambas-user mailing list
>> Gambas-user@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>
> 
> ------------------------------------------------------------------------------
> The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
> Pinpoint memory and threading errors before they happen.
> Find and fix more than 250 security defects in the development cycle.
> Locate bottlenecks in serial and parallel code that limit performance.
> http://p.sf.net/sfu/intel-dev2devfeb
> _______________________________________________
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
> 

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to