QB64.org Forum
QB64 Team Software => InForm Discussion => Topic started by: Qwerkey on June 24, 2019, 04:54:46 am
-
Fellippe, quick question: where's the best place to put DATA lines in the .bas? In a non-InForm .bas this would be after SYSTEM (assuming this or similar exists), but there isn't such a thing for an InForm-created file. Right at the end of all the SUB's?
-
Supplementary question (which may have been asked elsewhere): May I use _KEYDOWN, or do I have to use the InForm equivalents?
-
Fellippe, quick question: where's the best place to put DATA lines in the .bas? In a non-InForm .bas this would be after SYSTEM (assuming this or similar exists), but there isn't such a thing for an InForm-created file. Right at the end of all the SUB's?
If it’s just a data block, no labels, you can add them after the last sub in your main .bas. If you’ll need labels for RESTORE, add them before the external modules are $INCLUDEd.
Supplementary question (which may have been asked elsewhere): May I use _KEYDOWN, or do I have to use the InForm equivalents?
No problem using _KEYDOWN. For _KEYHIT, use __UI_KeyHit instead.
-
If the data is only relevant to a specific sub or function, you can place it inside said procedure, labels allowed.
-
Fellippe, further supplementary question, which I only ask out of nervousness (I should be more confident in my beliefs): If a Frame is Disabled and Hidden are ALL the controls upon it also Disabled and Hidden? In practice, I have found this to be so as it should be, so apologies for the mithering ("mither": northern English verb for to bother). Thanks.
-
Your assumption is correct 🙂
-
Hi Qwerkey
just a question...
but don't you like to read book?
:-) I assume no.