16
Astrobasic / command(BUTTON, -1
« on: September 18, 2021, 07:53:53 AM »
You can now use -1 to indicate the last created command when using command(XXXX, functions like BUTTON, CHECKBOX, EDIT etc.
23 00' 30" | 00 27' 29" | 03 18' 47" | 27 40' 22" | 22 11' 38" | 21 15' 53" r | 13 29' 15" r | 26 29' 08" r | 27 51' 14" r | 29 38' 44" | 05 34' 48" r | 21 09' 32" r |
You will now by default get an email if there are replies to a topic you posted in, you can turn this off in Profile - Forum Profile - Modify - Notifications.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
button(0, 0, "Push me", go);
hint("Push this to make something happening");
window(666, 666);
char s[99];
int n;
button(0,0, "Test", test);
run;
:test;
popup(99, 99, "one|two|three", test1);
return;
:test1;
strset(s, "%d %d", n, menunumber);
setcaption(s);
n += 1;
return;
window(0, 0);
button(10, height - 30, "Menu", NULL);
command(BUTTON, 0, 10, 0);
command(MENU, 0, 12, 0);
button(0, 0, "hi", NULL);
command(BUTTON, buttonnumber, 0, 0); ` operate on the previously made button
int i = button(0, 0, "hi", NULL);
command(BUTTON, i, 0, 0); ` operate on the previously made button
menu(4, "Show Radix Lines", go);
menu(4, "Show Radix Planets", go);
menu(4, "Show House Lines", go);
command(MENU, 4, AUTOCHECK, 1);
command(MENU, 5, AUTOCHECK, 1);
command(MENU, 6, AUTOCHECK, 1);
menu(4, "Show Radix Lines", go);
command(MENU, menunumber, AUTOCHECK, 1);
menu(4, "Show Radix Planets", go);
command(MENU, menunumber, AUTOCHECK, 1);
menu(4, "Show House Lines", go);
command(MENU, menunumber, AUTOCHECK, 1);