Normal Topic Tabs have become ReadOnly (Read 1527 times)
Bob_Hansen
Senior Member
Members
*****
Offline


WOW, They have the Internet
on computers now!

Posts: 1861
Location: Salem, NH
Joined: Nov 24th, 2002
Tabs have become ReadOnly
Mar 15th, 2018 at 2:20pm
Print Post Print Post  
Hello Ray.

I have sent you file with normal email.  More details in that message.  Also sent a message using the Forum messaging.

A major part of a buiness application has become unusable.  I cannot use any of the tabs where all the data entry happens.  It seems like all the Tabs have become ReadOnly

In Update mode, cannot move to the Main tabs on the Orders form.  After opening a form, it stays on the tab that was active when I was on the Retreive screen.  Cannot move to any other Tab.  If on a Tab, cannot enter any data into any field.  No error messages. 

Please let me what the status and solution will be. 

Thanks.
  



Bob Hansen
Sesame Database Manager Professional
Sensible Solutions Inc.
Salem, NH
603-898-8223
Skype ID = sensiblesolutions
Back to top
IP Logged
 
Ray the Reaper
Global Moderator
Members
Lantica Support
*****
Offline


The One & The Only

Posts: 2480
Joined: Aug 20th, 2003
Re: Tabs have become ReadOnly
Reply #1 - Mar 15th, 2018 at 2:25pm
Print Post Print Post  
Reply sent 10+ minutes ago.

Quote:
Hi Bob,

No corruption in the files that I can see. Your Tab Group is simply set to be Read-Only. If you open up the attributes table, and go down to LE3, you will see that it's Read Only setting is 2.

To fix the simply click on one of the tab pages in that group, and on the Other tab of the Property Editor, drop down the Read Only combo box and choose No. Save and Preview.


-Ray
  

Raymond Yoxall Consulting
ray.yoxall@gmail.com
ryoxall@lantica.com
Sesame Applications, Design and Support
Back to top
IP Logged
 
Bob_Hansen
Senior Member
Members
*****
Offline


WOW, They have the Internet
on computers now!

Posts: 1861
Location: Salem, NH
Joined: Nov 24th, 2002
Re: Tabs have become ReadOnly
Reply #2 - Mar 15th, 2018 at 3:08pm
Print Post Print Post  
Thanks for quick reply, Ray.

It sounds like I diagnosed it correctly, but could not locate the truth, forgot about Attributes Table, it is well hidden.  I am sure I looked at all six Tab pages and they each said they were not ReadOnly.  Hmmm,

OK, I was right, that is what I saw, all six pages indicate they are not ReadOnly.  But I cannot seem to locate the Tab Group, LE3.  I tried getting to it with Advanced Element Selector.  I can see the whole frame selected, but cannot grab it in the Property Viewer to modify it in the Property Editor.  Well, I can work on that, I am sure my mouse will get smarter.

Maybe putting a command in FormEntry section to change LE3 to 0 vs. 2 will fix it for right now. 

Still puzzled how I made LE3 ReadOnly to begin with, but that is less important, right now.

Thanks lots,

Bob
  



Bob Hansen
Sesame Database Manager Professional
Sensible Solutions Inc.
Salem, NH
603-898-8223
Skype ID = sensiblesolutions
Back to top
IP Logged
 
Ray the Reaper
Global Moderator
Members
Lantica Support
*****
Offline


The One & The Only

Posts: 2480
Joined: Aug 20th, 2003
Re: Tabs have become ReadOnly
Reply #3 - Mar 15th, 2018 at 3:16pm
Print Post Print Post  
Bob_Hansen wrote on Mar 15th, 2018 at 3:08pm:
Maybe putting a command in FormEntry section to change LE3 to 0 vs. 2 will fix it for right now.


Don't do that. Do what I said. Select a tab page, and set Read Only to be No. A Tab Page can't be set to Read Only so it sets it to the Tab Group.

-Ray
  

Raymond Yoxall Consulting
ray.yoxall@gmail.com
ryoxall@lantica.com
Sesame Applications, Design and Support
Back to top
IP Logged
 
Bob_Hansen
Senior Member
Members
*****
Offline


WOW, They have the Internet
on computers now!

Posts: 1861
Location: Salem, NH
Joined: Nov 24th, 2002
Re: Tabs have become ReadOnly
Reply #4 - Mar 15th, 2018 at 3:50pm
Print Post Print Post  
OK, got it!

So, I can't beleive my lying eyes when the Property Editor says ReadOnly is NO for all of the Tab Pages?  Again, all six Pages say NO, but resetting one of the Pages to NO again, did change the Group setting from 2 to 0.

So what could I have done to make the whole group ReadOnly?  This is the only code I have for LE3:
Code
Select All
// Hide old obsolete tabs
If @Mode() = 0 Then {			// Hide old tabs in Add Mode
	HideTabPage(LE3,6)
	HideTabPage(LE3,5)
	} ELSE {
	RestoreTabPages(LE3)
	}

If @InStr(OrderType,"Rental") >0 Then {
	RestoreTabPages(LE3)		// Restore all Tabs
	//HideTabPage(LE3,6)		// Old Rental Ref
	HideTabPage(LE3,5)		// Old Sales Ref
	}

If @InStr(OrderType,"Sales") >0 Then {
	RestoreTabPages(LE3)		// Restore all Tabs
	HideTabPage(LE3,6)		// Old Rental Ref
	// HideTabPage(LE3,5)		// Old Sales Ref
	HideTabPage(LE3,3)		// Rentals Analysis
	HideTabPage(LE3,2)		// Rental Calculations
	}
 



If I wanted to make the whole group ReadOnly, how would I make that happen?  Is there a command I could have put into a Mass Update spec somehow?

The only command I can think of that might do this would be:
Attribute(LE3, 28, "2")
And I know I have no Attribute commands in any Mass Update Specs.
  



Bob Hansen
Sesame Database Manager Professional
Sensible Solutions Inc.
Salem, NH
603-898-8223
Skype ID = sensiblesolutions
Back to top
IP Logged
 
Ray the Reaper
Global Moderator
Members
Lantica Support
*****
Offline


The One & The Only

Posts: 2480
Joined: Aug 20th, 2003
Re: Tabs have become ReadOnly
Reply #5 - Mar 15th, 2018 at 3:58pm
Print Post Print Post  
Bob_Hansen wrote on Mar 15th, 2018 at 3:50pm:
So, I can't beleive my lying eyes when the Property Editor says ReadOnly is NO for all of the Tab Pages?  Again, all six Pages say NO, but resetting one of the Pages to NO again, did change the Group setting from 2 to 0.


Property Viewer is showing the stats for the selected tab page and they are not Read Only, the Tab Group is. The Group is an un-selectable entity.

Quote:
If I wanted to make the whole group ReadOnly, how would I make that happen?


The same way you just made it not Read Only. Select a tab page and set Read Only. That sets it for the group.

-Ray
  

Raymond Yoxall Consulting
ray.yoxall@gmail.com
ryoxall@lantica.com
Sesame Applications, Design and Support
Back to top
IP Logged
 
Bob_Hansen
Senior Member
Members
*****
Offline


WOW, They have the Internet
on computers now!

Posts: 1861
Location: Salem, NH
Joined: Nov 24th, 2002
Re: Tabs have become ReadOnly
Reply #6 - Mar 15th, 2018 at 4:27pm
Print Post Print Post  
Thanks Ray.  Don't mean to beat a dead horse, but just want to be clear in my own mind.

OK, so if I set a single Page to ReadOnly, that makes all the Pages ReadOnly. 

I know I can change the visibility of individual Pages with Attribute command, so can I also use the Attribute(TabPagex, 28, "n") command to change ReadOnly status of individual Pages? And that does not cause the other Pages to take the same status?

I just used the Editor to change a single Page to ReadOnly, the value of LE3 is now 2, and all of the pages in the Editor say False.   I went to another Page, used the Editor, selected NO, and all Pages still say False, but the Attribute Table shows LE3 has gone from 2 to 0, just as you said.

So if Tab Pages are acting like they are ReadOnly, then they are ReadOnly.  And you can't select the TabGroup element LE3, and cannot change its name, etc.  Can only use the Attribute Table to the various values of all TabGroups.
  



Bob Hansen
Sesame Database Manager Professional
Sensible Solutions Inc.
Salem, NH
603-898-8223
Skype ID = sensiblesolutions
Back to top
IP Logged