foxGUI - textfieldTextStyle

View: New views
2 Messages — Rating Filter:   Alert me  

foxGUI - textfieldTextStyle

by dglnz :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I have just come across the Textfield_Limited option.

I would like to get an understanding on how and why it is used.
Could anyone give me a scenario of it's use?

I am thinking of using it like this.

I have a login screen and it contains a label, textfield and button.

the textfield has the password option checked so asterisks appear and would like to use the Textfield_Limited as a check to ensure the user enters X characters in for a password thus saving me from doing the test myself.

Is this what it's use is for?

I have another textfield where i am wanting to restrict the characters to 10 no more no less
before allowing the user to proceed on (currently this is done via a length test) when the user presses enter on the keyboard (note there are no buttons! on this particular window).

Cheers,

Dave.


Need mail bonding? Bring all your contacts to Yahoo!Xtra with TrueSwitch
_______________________________________________
fxruby-users mailing list
fxruby-users@...
http://rubyforge.org/mailman/listinfo/fxruby-users

Re: foxGUI - textfieldTextStyle

by dglnz :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Know it's a bit sad but i tried it and it does as i wanted for my other program which is to truncate the text off to the length the value held in Limit.

 so I've answered part of my own question

Dave.

--- On Mon, 10/8/09, dave L <dglnz@...> wrote:

From: dave L <dglnz@...>
Subject: [fxruby-users] foxGUI - textfieldTextStyle
To: "fxruby" <fxruby-users@...>
Received: Monday, 10 August, 2009, 8:07 PM

I have just come across the Textfield_Limited option.

I would like to get an understanding on how and why it is used.
Could anyone give me a scenario of it's use?

I am thinking of using it like this.

I have a login screen and it contains a label, textfield and button.

the textfield has the password option checked so asterisks appear and would like to use the Textfield_Limited as a check to ensure the user enters X characters in for a password thus saving me from doing the test myself.

Is this what it's use is for?

I have another textfield where i am wanting to restrict the characters to 10 no more no less
before allowing the user to proceed on (currently this is done via a length test) when the user presses enter on the keyboard (note there are no buttons! on this particular window).

Cheers,

Dave.


Need mail bonding? Bring all your contacts to Yahoo!Xtra with TrueSwitch

-----Inline Attachment Follows-----

_______________________________________________
fxruby-users mailing list
fxruby-users@...
http://rubyforge.org/mailman/listinfo/fxruby-users

Hungry? Try some spicy marinated chicken fillets for dinner tonight, courtesy of Yahoo!Xtra Food.
_______________________________________________
fxruby-users mailing list
fxruby-users@...
http://rubyforge.org/mailman/listinfo/fxruby-users