Jump to content

Recommended Posts

Posted

Hi,

Just took the plundge and purchased Unigui, great product well done.

I have the following scenario as shown in the picture below.

on my Mainform I have a PageControl where a frame is loaded for a specific function of my program.  This loads a frame with another Page control and a set of tabsheets.

The contents of the second pagecontrol / tabsheet1 is data fields that the user can modify so when they click the "Edit" button the dataset goes into "Edit" mode.

What I am trying to avoid is the user closing the MainForm Tab  Vehicle (FL20 CVT) whilst the dataset is in edit mode on the other frame.

how can I pass something back to the main form to stop the tab from being closed ?

Thank You.

Dave

 

 

 

 

tabs.png

Posted
1 hour ago, Hayri ASLAN said:

Hi,

You can set UniTabSheet1.Closable:=False while editing. This will remove "X" button

Hi Thanks for the replay.

I need to keep the X button on the tab as they will end up gathering a lot of tabs.

is there any way to pass back ?

Thanks.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...