Re: [Gambas-user] Using Character constants in Gambas

2011-03-08 Thread Caveat
I would just create a Module called something like DialogFactory... PUBLIC ErrorDialog AS Integer = 0 PUBLIC WarningDialog AS Integer = 1 PUBLIC InformationDialog AS Integer = 2 PRIVATE DefaultDialogType AS Integer = ErrorDialog PRIVATE AllowedTypes AS Integer[] = [ErrorDialog, WarningDialog,

[Gambas-user] Text Boxes

2011-03-08 Thread k p
When doing the following: TextLabel1.Text = i TextBox1.Text iEQU 0 I expect a string in a text box, which I get. However the length of the spacing stays the same no matter how many spaces I put between the What I'm trying to achieve is that the output string follows my coding

Re: [Gambas-user] Using Character constants in Gambas

2011-03-08 Thread vikram
Hi Caveat, Thanks, that is a lot simpler :) Best Regards, Vikram Nair -- What You Don't Know About Data Connectivity CAN Hurt You This paper provides an overview of data connectivity, details its effect on

Re: [Gambas-user] Using Character constants in Gambas

2011-03-08 Thread vikram
Hi Caveat, Thanks, that is a lot simpler :) Best Regards, Vikram Nair -- What You Don't Know About Data Connectivity CAN Hurt You This paper provides an overview of data connectivity, details its effect on

Re: [Gambas-user] Using Character constants in Gambas

2011-03-08 Thread Caveat
You're welcome :-) I was thinking if you want your module to be used by others who may have the bright idea of changing the public attributes, you should probably code using the CONST keyword...it's also clearer that these values should never be changed... PUBLIC CONST ErrorDialog AS Integer =

[Gambas-user] Date picker: reading single days (Gambas 2)

2011-03-08 Thread Rolf-Werner Eilert
Now, there is a minor thing that I came across when I tried to color days in the date picker: There can be more than 1 month, or even there will be in most cases, even 3 months is possible. Is it possible to know which days from which month are currently shown in the control? Something like an

Re: [Gambas-user] Controlling mplayer while embeded...

2011-03-08 Thread Stephen Bungay
On 03/08/2011 09:04 AM, Stephen Bungay wrote: Anyone have an example of this? I have launched mplayer using exec and have it in an embedder, now want to control it through push buttons. -- What You Don't Know

[Gambas-user] String and textboxes

2011-03-08 Thread k p
When doing the following: TextLabel1.Text = i TextBox1.Text iEQU 0 I expect a string in a text box, which I get. However the length of the spacing stays the same no matter how many spaces I put between the What I'm trying to achieve is that the output string follows my

Re: [Gambas-user] String and textboxes

2011-03-08 Thread Simonart Dominique
Hi, With Gambas2 v2.21 it works exactly as you want! Tested with Label and TextBox regards Le 08/03/2011 20:11, k p a écrit : When doing the following: TextLabel1.Text = i TextBox1.TextiEQU 0 I expect a string in a text box, which I get. However the length of the spacing

[Gambas-user] Issue 48 in gambas: long lines wrap in search window

2011-03-08 Thread gambas
Status: New Owner: Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 48 by zachsmit...@gmail.com: long lines wrap in search window http://code.google.com/p/gambas/issues/detail?id=48 1) long lines wrap in search window 2) Version: TRUNK