Method: AutoItX3::Control#show

Defined in:
lib/AutoItX3/control.rb

#showObject

Shows a hidden control.

Return value

nil.

Example

ctrl.show

Remarks

This doesn’t enable user input, use #enable for that purpose.



288
289
290
291
292
293
# File 'lib/AutoItX3/control.rb', line 288

def show
  Control.functions[__method__] ||= AU3_Function.new("ControlShow", 'SSS', 'L')
  res = Control.functions[__method__].call(@title.wide, @text.wide, @c_id.wide)
  raise_unfound if res == 0
  nil
end