Welcome to the SRP Forum! Please refer to the SRP Forum FAQ post if you have any questions regarding how the forum works.
Hidden Column
Hello,
I am setting the visible property for a column in an edit table to false. Based on user input, I set the value of the hidden cells to a key value to another table.
When the column is hidden, it doesn't seem to accept the text I am placing in the cells. When I make the column visible, the cells accept the text.
I can leave the column visible but I'm trying to make room on the screen.
Is there a property I'm missing that needs to be configured in addition to the visible property?
Thanks,
Charlie Engler
I am setting the visible property for a column in an edit table to false. Based on user input, I set the value of the hidden cells to a key value to another table.
When the column is hidden, it doesn't seem to accept the text I am placing in the cells. When I make the column visible, the cells accept the text.
I can leave the column visible but I'm trying to make room on the screen.
Is there a property I'm missing that needs to be configured in addition to the visible property?
Thanks,
Charlie Engler
Comments
How are you making the column invisible? How are you populating the text of the cells?
I'm using "OLE.DataColumn" and set the Visible attribute to False for the specific column. I use "OLE.CellText" to add the text to the cell.
This should work, so this leads me to a few more questions:
Checked everything you mentioned and all the code looked good.
I decided to delete the Sysreposeventexes row pertaining to this event and recompile (User created event.) It's working now.
Charlie
So was the code running at all or was it running older code? I presumed you had tried to debug this at some point. Did the debugger come up?
It doesn't seem to be specific to any one control, either. It just happens.
I need to get better at checking for this problem before asking for assistance :-(
I also experience a good number of OI9.4 developer crashes, almost every day. I've performed a clean install of Windows and OI but the problem persists. The crash always, without exception, happens in the form designer and never the system editor.
I'm in a standard Windows environment...Windows network...Windows desktop (happened in Windows 7, 8 and now 10.)
When I get our new manufacturing app running live, I'll have some time to troubleshoot. But for now, a deadline looms large.
Charlie
Obvious your event handlers should work, but I'm curious if you considered moving your event handler logic out of event scripts and into a commuter module. I think you'll have much better success and you'll be more productive.
Is this an old form, - i.e. has the stylesheet reference been removed