Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS Tech Support » CExtPropertyGridCtrl - Questions concerning SpinButtons Collapse All
Subject Author Date
Adrian Ineichen Jan 20, 2014 - 9:13 AM

I have a few questions concerning edit controls combined with spin buttons in a property control:



1) How to set user defined Min/Max values for a spin button

    (e.g. Min value: - 23 /Max value: 209)

2) How to combine Hex values with a spin button 

    (e.g. the Hex value is set to 0x012B -> after pressing the SpinUp button, the value is set to 0x012C; 

             the Hex value is set to 0x012B -> after pressing the SpinDown button, the value is set to 0x012A)

3) How to combine Enum values with a spin button

    (e.g. you have an enum including the values {Monday, Wednesday, Friday, Sunday}:

           - the value is set to ’Wednesday’ -> after pressing the SpinUp button, the value is set to ’Friday’;

           - the value is set to ’Wednesday -> after pressing the SpinDown button, the value is set to ’Monday’)


I’m looking forward to the answers.

Best regards

Art Wilkes Jan 20, 2014 - 9:53 AM

Prof-UIS Support
I’ll research your questions and get back to you tomorrow.