On Jan 30, 2006, at 8:03 AM, Brutyn Nick hotmail wrote:
> hey,
> ?
> i want to make a application that can do:
> -user can login in
> -when login fails, show message
> -when login is correct, new window(no popup)?with some select list of
> some sort filled with employee records f that user.
OK.
> How can i:
> -If i click a button i can get the value from the textfield
I think you''d do something like:
button.connect(SEL_COMMAND) {
value = textField.text
}
> -When login succes show new window (no popup)
> -fill some select list??
> ?
> I m pretty new at this, only worked with RoR, how u guys can help me,
> of have some great example that can do this.
There are several examples of how to display windows (e.g. main windows
and dialog boxes), as well as how to create and fill list widgets, in
the "examples" directory of the FXRuby distribution. I''d
suggest that
you start with those, and then modify them a little bit at a time to
learn how things work.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/enriched
Size: 1665 bytes
Desc: not available
Url :
http://rubyforge.org/pipermail/fxruby-users/attachments/20060130/ff749fd6/attachment.bin