View previous topic :: View next topic |
Author |
Message |
Sting9x Expert Cheater Reputation: 0
Joined: 27 Jul 2016 Posts: 124
|
Posted: Fri Jun 02, 2017 7:52 am Post subject: Date and Time in Title bar |
|
|
When I activate this code
Code: | function okclick()
if not NewCaption then
openProcess("gang.exe")
showMessage("Succes!.")
end
end
|
Immediately date and time will appear in the title bar.
Is there anyway to do that?
If yes please guide me
|
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 458
Joined: 09 May 2003 Posts: 25296 Location: The netherlands
|
Posted: Fri Jun 02, 2017 9:21 am Post subject: |
|
|
form.Caption=os.date()
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
Back to top |
|
|
Sting9x Expert Cheater Reputation: 0
Joined: 27 Jul 2016 Posts: 124
|
Posted: Sat Jun 03, 2017 7:18 am Post subject: |
|
|
Dark Byte wrote: | form.Caption=os.date() |
I do not understand this
Can you be clearer?
|
|
Back to top |
|
|
Sting9x Expert Cheater Reputation: 0
Joined: 27 Jul 2016 Posts: 124
|
Posted: Sat Jun 03, 2017 8:48 pm Post subject: |
|
|
up , help me
|
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 458
Joined: 09 May 2003 Posts: 25296 Location: The netherlands
|
Posted: Sun Jun 04, 2017 1:10 am Post subject: |
|
|
a form is a window. a form.caption is the title of the window
getMainForm() will return the ce main form
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
Back to top |
|
|
Corroder Grandmaster Cheater Supreme Reputation: 75
Joined: 10 Apr 2015 Posts: 1667
|
Posted: Sun Jun 04, 2017 3:30 am Post subject: |
|
|
Code: | f = createForm()
function okclick()
if not NewCaption then
openProcess("gang.exe")
showMessage("Succes!.")
f.Caption=os.date()
end
end |
No idea when and where to activating function okclick().
But, just to show date and time on form title bar :
Code: | f = createForm()
f.Caption = os.date()
f.show() |
_________________
Stealing Code From Stolen Code...
And Admit It.. Hmmm....Typically LOL |
|
Back to top |
|
|
Sting9x Expert Cheater Reputation: 0
Joined: 27 Jul 2016 Posts: 124
|
Posted: Mon Jun 05, 2017 7:28 am Post subject: |
|
|
Corroder wrote: | Code: | f = createForm()
function okclick()
if not NewCaption then
openProcess("gang.exe")
showMessage("Succes!.")
f.Caption=os.date()
end
end |
No idea when and where to activating function okclick().
But, just to show date and time on form title bar :
Code: | f = createForm()
f.Caption = os.date()
f.show() |
|
This is not my idea
Is there a way for Title gang.exe to change to Date and Time when I activate the code above?
Example : Gang Online - [ date and time ]
|
|
Back to top |
|
|
Corroder Grandmaster Cheater Supreme Reputation: 75
Joined: 10 Apr 2015 Posts: 1667
|
Posted: Mon Jun 05, 2017 6:20 pm Post subject: |
|
|
Yes...
Code: | title = 'Gang Online'
f = createForm()
f.Caption = title..' - '..os.date()
f.show() |
_________________
Stealing Code From Stolen Code...
And Admit It.. Hmmm....Typically LOL |
|
Back to top |
|
|
|