March 11, 2026, 10:53:56 PM

News:

Own IWBasic 2.x ? -----> Get your free upgrade to 3.x now.........


Project with two forms

Started by jayelbee, January 30, 2026, 09:46:53 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

jayelbee

After some time being away from IWB, I am trying to develop a program with two forms.   The first form generated correctly andcompiled.  Adding a second form to the project results in no code being generated for the second form.  Should I develop each form conpletely separate and then merge them at compile time manually or should IWB+ handle both forms in the same session.  I can delete the second form and get back to the main form, but I cannot delete the first form and work with the second.

billhsln

January 31, 2026, 06:32:07 PM #1 Last Edit: January 31, 2026, 06:36:34 PM by billhsln
A code sample would help us figure out what your problem is.  Do the forms overlap or do you want one under/side of the other.

I don't check this forum too often, but will check back every couple of days to see if you have uploaded a sample or the code you are working on depending on if it is company private or not.

Bill
When all else fails, get a bigger hammer.

jayelbee

Here are files. Sorry it sook so long.  JBBothForms.zip

billhsln

I see main setup and used, but I don't see check1 any where.

I am guessing that the 'main' in the following code should be check1.

Init_Check1()
'@@
'@@INITMENU
'@@
'@@MENUHANDLERS
'@@
'@@TOOLBAR
'@@
'@@TOOLBARHANDLERS
'@@
'@@HANDLERS_main
ONMESSAGE main,@IDCLOSEWINDOW,&OnMainClose
ONCONTROL main,main_LISTVIEW1,@NMDBLCLK,&OnDoubleClick_main_LISTVIEW1
ONCONTROL main,main_BUTTON1,@BN_CLICKED,&OnClick_main_BUTTON1
ONCONTROL main,main_BUTTON2,@BN_CLICKED,&OnClick_main_BUTTON2
ONCONTROL main,main_BUTTON3,@BN_CLICKED,&OnClick_main_BUTTON3
ONCONTROL main,main_BUTTON4,@BN_CLICKED,&OnClick_main_BUTTON4
ONCONTROL main,main_BUTTON5,@BN_CLICKED,&OnClick_main_BUTTON5
ONCONTROL main,main_BUTTON6,@BN_CLICKED,&OnClick_main_BUTTON6
ONCONTROL main,main_BUTTON7,@BN_CLICKED,&OnClick_main_BUTTON7

Bill
When all else fails, get a bigger hammer.