Sign up on the Revelation Software website to have access to the most current content, and to be able to ask questions and get answers from the Revelation community

At 21 AUG 2002 08:59:46AM Oystein Reigem wrote:

I have a dialog containing a combo box. In the CREATE handler I populate the combo. This process may take some time, so at the start of CREATE I set the cursor to hourglass. I could have set the cursor back to arrow at the end of CREATE but I don't bother. I know that after a handler is finished the cursor always reverts to the arrow shape.

But not this time. After the CREATE is finished and the dialog is up and running the cursor is still an hourglass. What seems to make a difference is the following instruction after the combo is populated:

Void=Set_Property( ComboBoxName, "DROPDOWN", true$ )

This instruction makes the combo's list drop down and become visible. With this instruction in place the hourglass cursor stays on. Remove the instruction and the cursor reverts to arrow.

The hourglass goes away as soon as I click the mouse.

I can make the hourglass go away programmatically by explicitly setting the cursor to arrow at the end of CREATE. I'd still like to report the anomaly in case it's a symptom of more sinister problems.

Do anybody recognize the problem?

The problem occurs in 32-bit OI 4.0.3 but not in 16-bit OI 3.7.1.

I run Win 2000 Pro.

There's a lot of other stuff going on in the aforementioned CREATE handler but I find it hard to believe it's relevant.

- Oystein -


At 21 AUG 2002 12:40PM [email protected] wrote:

It seems suspicious that removing the command takes care of the problem (like the old joke .. guy goes to the doctor and says .. doc it hurts when I do this .. doc says don't do that)

Can you create a new form with the combo and the command and have the same thing happen?. If so send it off to rti .. they like those

[email protected] onmouseover=window.status=the new revelation technology .. a refreshing change;return(true)"

David Tod Sigafoos ~ SigSolutions

Phone: 503-639-4240

OS: Win2k sp2 (5.00.2195)

OI: 4.1 beta (pre 082002)


At 21 AUG 2002 02:48PM Oystein Reigem wrote:

DSig,

Can you create a new form with the combo and the command and have the same thing happen?.

That's what I should have done right away of course, instead of spending so much time describing the problem. And it was easier than I thought.

I made a window with a combo and a button. In the button I placed the following script:

$insert Logical

declare function Set_Property

declare function Utility

UtRetVal=Utility( "CURSOR", "H" )

List=A" : @FM : "B" : @FM : "C"

Void=Set_Property( @Window : ".COMBO_1", "LIST", List )

Void=Set_Property( @Window : ".COMBO_1", "DROPDOWN", true$ )

RETURN 0

If so send it off to rti .. they like those

I hope they spot it here. It's so simple there's no point in bothering with a check-out or anything.

- Oystein -


At 21 AUG 2002 05:06PM Bob Carten, WinWin / RevTech wrote:

Spotted ….

Try

equ true$ to 1

declare function Set_Property

declare function Utility

UtRetVal=Utility( "CURSOR", "H" )

List=A" : @FM : "B" : @FM : "C"

Void=Set_Property( @Window : ".COMBO_1", "LIST", List )

Void=Set_Property( @Window : ".COMBO_1", "FOCUS", true$ )

Void=Set_Property( @Window : ".COMBO_1", "DROPDOWN", true$ )


At 21 AUG 2002 05:42PM [email protected] wrote:

Its funny that the focus clears it up .. even clicking on the control with the old code clears it up ..

[email protected] onmouseover=window.status=the new revelation technology .. a refreshing change;return(true)"

David Tod Sigafoos ~ SigSolutions

Phone: 503-639-4240

OS: Win2k sp2 (5.00.2195)

OI: 4.1 beta (pre 082002)


At 21 AUG 2002 05:46PM Oystein Reigem wrote:

Bob,

Thanks. Will try it tomorrow.

In the original code I actually do set the FOCUS, but after DROPDOWN.

- Oystein -

View this thread on the forum...

  • third_party_content/community/commentary/forums_nonworks/e69ff65991e7ae7985256c1c00476425.txt
  • Last modified: 2023/12/28 07:40
  • by 127.0.0.1