Use of CSPinButtonCtrl

xiaoxiao2021-03-06  75

(1) The default Range is 100 ~ 0, note 100 is min, 0 is Max. Therefore, when this point is button, the value is reduced. We can reset the function setRange (2) Set the EDIT and other controls associated with the SPIN control through the function setBuddy. The EDIT control needs to provide an initial string, or by DDX associate a variable, then use Updatedata (false) to initialize (3) to make an EDIT's SPIN control Simple settings of the Spin's properties 1. Set Alignment to LEFT or RIGHT, do not use UNATTACHED. 2. Set Autobuddy to True. 3. Set the setBuddyinteger to True. 4. Ctrl D, guaranteed Tab ORDER of the Spin Control after its Attach's edit control, we got an EDIT's spin control

转载请注明原文地址:https://www.9cbs.com/read-109541.html

New Post(0)