[Solved] Workspace1 Question

Post your Gambas programming questions here.
Post Reply
AndyGable
Posts: 363
Joined: Wednesday 2nd December 2020 12:11am
Location: Northampton, England
Contact:

[Solved] Workspace1 Question

Post by AndyGable »

Hi All,

Was wondering if someone could explain what this error message mean that I am getting

so far this is what I have

when my application starts it load into a Workspace (the workspace is on FrmBackground) FrmSignedoff and this displays correctly.

but when I Press the A key to show the next form I get

Unknown symbol 'Workspace1' in class 'Container' in frmSignedOff but the code is
Select Case Key.Text
 case "A"
    FrmBackground.Workspace1.Closeall
    FrmBackground.Workspace1.add(FrmSignon, 0)
end select
THIS works on one of my other projects so what am I missing here or have I not selected a requirement correct?
Last edited by AndyGable on Sunday 28th February 2021 8:24pm, edited 2 times in total.
AndyGable
Posts: 363
Joined: Wednesday 2nd December 2020 12:11am
Location: Northampton, England
Contact:

Re: Workspace1 Question

Post by AndyGable »

Just to update everyone I have sorted this error I forgot to set the Workspace1 Public option to true
Post Reply