Jump to content

Recommended Posts

Posted (edited)

GUICtrlLabel("aa", 0, 0, 0, 0)

I want ;

if $a=1 then GUICtrlLabel("a", 0, 0, 0, 0)

if $a=2 then GUICtrlLabel("aa", 0, 0, 0, 0)

if $a=3 then GUICtrlLabel("aaa", 0, 0, 0, 0)

Pls Help me !

Edited by extraloob
Posted (edited)

  extraloob said:

GUICtrlLabel("aa", 0, 0, 0, 0)

I want ;

if $a=1 then GUICtrlLabel("a", 0, 0, 0, 0)

if $a=2 then GUICtrlLabel("aa", 0, 0, 0, 0)

if $a=3 then GUICtrlLabel("aaa", 0, 0, 0, 0)

Pls Help me !

Hi,

$label=GuiCtrlCreateLabel("A",5,5,200,25)
Sleep(500)
Global $text=1
Sleep(500)
 Global $text=2
Sleep(500)
 Global $text=3

While 1
Sleep(250)
If $text=1 Then
GuiCtrlSetData($label,"B")
EndIf

If $text=2 Then
 GuiCtrlSetData($label,"C")
 EndIf

If $text=3 Then
 GuiCtrlSetData($label,"D")
 EndIf
WEnd
Edited by FireFox
Posted (edited)
  Quote

Pls Help me !

What a strange form (method) to ask question :) . Edited by MrCreatoR

 

  Reveal hidden contents

 

 

AutoIt is simple, subtle, elegant. © AutoIt Team

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...