Author Topic: Gauquelin comboboxcmd  (Read 188 times)

0 Members and 1 Guest are viewing this topic.

Jean

  • Administrator
  • Hero Member
  • *****
  • Posts: 735
    • View Profile
Gauquelin comboboxcmd
« on: August 15, 2022, 11:36:23 PM »
I often use a combobox for choosing a housesystem, problem is gauquelin, number 16, can't be used in most scripts.
Gauquelin can be easily left out of a combobox:
Code: [Select]
i = 0; for (i < 24)
  {
  if (i = 16) continue; ` gauquelin
  comboboxcmd(0, 0, housesystem[i]);
  }
command(COMBO, 0, 6, housesys);

Now for the combobox to still return the correct index just use this:
Code: [Select]
comboboxcmd(2, 0, ""); ` set combobox 0 to return index correctly for gauquelin position
Greetings from Groningen Netherlands <)))><.`.><(((>