Hi,

The SpinBox control when used in an application using the gb.gtk component 
allows the user to input values that are larger than it's MaxValue property. 
Say the MaxValue for a SpinBox is 100, the user can enter 999 and click the 
button to move to the next form, the SpinBox now automatically changes the 
value to 100. This is good because junk values won't get saved, but the problem 
is that there is no way of extracting the value with SpinBox.Value to show the 
user an error message that the value he wanted(999) is not valid!

If on the other hand the application uses the gb.qt component the user cannot 
enter any value greater than 100, the SpinBox control wouldn't let him! Is 
there anyway the same can be achieved in applications using the gb.gtk 
component?

Regards,
Vikram Nair




      

Attachment: SpinBoxIssue2GTK.tar.gz
Description: GNU Zip compressed data

Attachment: SpinBoxIssue2TQ.tar.gz
Description: GNU Zip compressed data

------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to