Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK .NET / Windows Forms

Author
Message
AlexI
19
Years of Service
User Offline
Joined: 31st Dec 2004
Location: UK
Posted: 5th Mar 2009 23:03 Edited at: 5th Mar 2009 23:05
Hi,
I have a text field called ScreenFPS, I want this to be filled with the FPS. So I wrote this code:



However I cannot call this inside DarkGDK Public Shared Sub GameLoop() because the ScreenFPS text field is not defined. How can I define this and all other windows form elements so I can call them with in the GameLoop?

Thanks,
Alex

AlexI
19
Years of Service
User Offline
Joined: 31st Dec 2004
Location: UK
Posted: 6th Mar 2009 00:47
Oh Just realized I was being really stupid



Login to post a reply

Server time is: 2024-04-24 05:04:45
Your offset time is: 2024-04-24 05:04:45