Class: VREditCombobox
- Inherits:
-
VRCombobox
- Object
- SWin::Window
- VRWinComponent
- VRControl
- VRStdControl
- VRCombobox
- VREditCombobox
- Defined in:
- lib/vr/vrcontrol.rb
Constant Summary collapse
- WINCLASSINFO =
["COMBOBOX",WStyle::CBS_DROPDOWN | WStyle::CBS_AUTOSCROLL ]
Instance Attribute Summary
Attributes inherited from VRControl
Attributes inherited from VRWinComponent
Instance Method Summary collapse
Methods inherited from VRCombobox
#addString, #clearStrings, #countStrings, #deleteString, #eachString, #findString, #getDataOf, #getTextOf, #select, #selectedString, #setDataOf, #setDir, #setListStrings, #vrinitnew
Methods inherited from VRStdControl
#_vr_cmdhandlers, #addCommandHandler, #deleteCommandHandler
Methods inherited from VRControl
Controltype, #add_parentcall, #call_parenthandler, #create, #setFont
Methods inherited from VRWinComponent
#_init, #create, #exwinstyle, #hide, #maximizebox, #maximizebox=, #minimizebox, #minimizebox=, #setscreen, #sizebox, #sizebox=, #tabstop, #tabstop=, #winstyle
Instance Method Details
#text ⇒ Object
819 820 821 |
# File 'lib/vr/vrcontrol.rb', line 819 def text self. end |
#text=(str) ⇒ Object
822 823 824 |
# File 'lib/vr/vrcontrol.rb', line 822 def text=(str) self. = str.gsub(/([^\r])\n/,'\1'+VREdit::VR_REGEXPNEWLINE) end |
#vrinit ⇒ Object
814 815 816 817 |
# File 'lib/vr/vrcontrol.rb', line 814 def vrinit super addCommandHandler(WMsg::CBN_EDITCHANGE, "changed",MSGTYPE::ARGNONE,nil) end |