Skip to content

Instantly share code, notes, and snippets.

@ecere
Last active December 16, 2015 10:09
Show Gist options
  • Save ecere/5417973 to your computer and use it in GitHub Desktop.
Save ecere/5417973 to your computer and use it in GitHub Desktop.
import "ecere"
class Form1 : Window
{
caption = "Form1";
background = activeBorder;
borderStyle = sizable;
hasMaximize = true;
hasMinimize = true;
hasClose = true;
clientSize = { 616, 422 };
position = { 696, 296 };
scrollArea = { 1024, 1024 };
hasVertScroll = true;
hasHorzScroll = true;
Button button1 { this, caption = "button1", position = { 156, 284 } };
Button button2 { this, caption = "button2", position = { 500, 88 } };
Button button3 { this, caption = "button3", position = { 316, 324 } };
void UpdateNonClient()
{
Window::UpdateNonClient();
sbv.visible = false;
sbh.visible = false;
}
}
Form1 form1 {};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment