Here some Impressions of my work...
// --------------------------------- //
// Project: TryTest
// Start: Monday, August 10, 2009
// IDE Version: 7.073
REQUIRE "network.mm"
// Create new Popup
IMPORT "C" void GlbPopup(const char* title, const char* text, const char* firstButton, const char* secondButton);
// Get Pressed ButtonIndex (1,2)
IMPORT "C" int GetPopupState();
// CreateTextField
IMPORT "C" int GlbInitGUI();
// Create Button
IMPORT "C" void GlbButton(const char* caption, int x, int y, int dx, int dy);
// Check Button Action
IMPORT "C" int GetPressState(const char* button);
GlbInitGUI();
GlbPopup("Message...","This message was created with GLBasic \n One Line \n ;)","Cancel","Ok")
WHILE TRUE
Ret = GetPopupState()
IF Ret = 1 THEN foo("Cancel")
IF Ret = 2 THEN foo("OK")
SHOWSCREEN
WEND
FUNCTION foo: muh$
GlbButton(muh$,110,240,100,30);
WHILE TRUE
IF GetPressState(muh$)
ENDIF
SHOWSCREEN
WEND
ENDFUNCTION
[attachment deleted by admin]