Join The Works program to have access to the most current content, and to be able to ask questions and get answers from Revelation staff and the Revelation community

At 07 MAR 2002 09:53:47PM j Vaughan wrote:

Following code should set the first column of an editable to hidden. Works find in 16 bit code.

Locks up when the Send_Message is executed in the 32 bit version.

Styles=Send_Message(Obj,'COLSTYLE',0,) Col_Style=Styles Col_Style=BITOR(Col_Style,DTCS_HIDDEN) Styles=Col_Style Call Send_Message(Obj,'COLSTYLE',0,Styles) Return Anyone have any ideas? Is this a known problem? </QUOTE> —- === At 07 MAR 2002 10:30PM j Vaughan wrote: === <QUOTE>This works, so it's something to with trying to get the style for the entire table. Col_Style=Send_Message(Obj,'COLSTYLE',1,)

Col_Style=BITOR(Col_Style,DTCS_HIDDEN)

Call Send_Message(Obj,'COLSTYLE',1,Col_Style)

Return


At 07 MAR 2002 10:49PM j Vaughan wrote:

Skip that, that locks up as well.


At 08 MAR 2002 03:46AM Donald Bakke wrote:

Jim,

During the beta releases of OI32 I believe we had lock ups using COLSTYLE, however, Pat quickly fixed it and we haven't had any problems since. Below is a copy of code we are currently using. Essentially it is exactly the same as your code except that we are hiding column 9 whereas you are hiding column 1. Perhaps that might be the problem.

ColStyle=Send_Message(@Window:".EDT_ORDER", "COLSTYLE", 0, "")

ColStyle=BitOr(ColStyle, 32)

Send_Message(@Window:".EDT_ORDER", "COLSTYLE", 0, ColStyle)

dbakke@srpcs.com

SRP Computer Solutions, Inc.


At 08 MAR 2002 03:46PM j Vaughan wrote:

]] you are hiding column 1. Perhaps that might be the problem «

I can hide other columns, so it is indeed the problem.

Pat?


At 08 MAR 2002 04:23PM Pat McNerthney wrote:

I just created a test form with a 3 column table and a button with the following code:

ColStyle=Send_Message(@Window:".TABLE_1", "COLSTYLE", 0, "")

ColStyle=BitOr(ColStyle, 32)

ColStyle=Send_Message(@Window:".TABLE_1", "COLSTYLE", 0, ColStyle)

When I click the button, I do not experience a lock up. I did notice that there are some problems redrawing the table, but no lock up.

Can you create a simple test form like this to see if you still lock up on a simple form like this?

Pat


At 08 MAR 2002 05:09PM Donald Bakke wrote:

Pat, Jim,

I changed our code to use column 1 and it worked fine. I didn't even notice a painting problem that you mentioned Pat. This is on a Win98SE machine.

dbakke@srpcs.com

SRP Computer Solutions, Inc.


At 08 MAR 2002 05:37PM j Vaughan wrote:

]] Can you create a simple test form like this to see if you still lock up on a simple form like this? «

That works; I also see the form not repainting correctly. Edge of column gets left on the screen.

Let me see if I can track down what is causing the system hang in the more complex case.


At 08 MAR 2002 05:42PM j Vaughan wrote:

Got it, try it when you only have 1 column in the editable.

View this thread on the Works forum...

  • third_party_content/community/commentary/forums_works/af77f6c3ac045e8988256b76000fe967.txt
  • Last modified: 2023/12/30 11:57
  • by 127.0.0.1