DCBROWSE ... DATATOOLTIP

This forum is for eXpress++ general support.
Post Reply
Message
Author
reganc
Posts: 257
Joined: Thu Jan 28, 2010 3:08 am
Location: Hersham, Surrey, UK
Contact:

DCBROWSE ... DATATOOLTIP

#1 Post by reganc »

I've just realised that the DATATOOLTIP only works if the browse column WHEN clause returns .T.

In my case, the WHEN clause is being used to a skip column that should not be selectable in any way when cell editing is in progress.

The reason I am trying to use a DATATOOLTIP on that column is that it displays the result of a simple calculation and I would like to show how the calculation was arrived at by showing its component parts in the tooltip.

Is there any easy way to do this?
Regan Cawkwell
Real Business Applications Ltd
http://www.rbauk.com

User avatar
Tom
Posts: 1171
Joined: Thu Jan 28, 2010 12:59 am
Location: Berlin, Germany

Re: DCBROWSE ... DATATOOLTIP

#2 Post by Tom »

Can you use the PROTECT clause of DCBROWSECOL instead?
Best regards,
Tom

"Did I offend you?"
"No."
"Okay, give me a second chance."

reganc
Posts: 257
Joined: Thu Jan 28, 2010 3:08 am
Location: Hersham, Surrey, UK
Contact:

Re: DCBROWSE ... DATATOOLTIP

#3 Post by reganc »

Tom wrote:Can you use the PROTECT clause of DCBROWSECOL instead?
Tom

Sorry, but no. It was a nice idea but...

The PROTECT clause simply allows/disallows the cursor entering the actual cell in edit mode.

We want all the other non-entry columns to not gain focus at all during the entry process so that only the cells in the columns that can be edited are selectable. This makes the actual entry process a lot easier for the user.

Thanks anyway.
Regan Cawkwell
Real Business Applications Ltd
http://www.rbauk.com

User avatar
rdonnay
Site Admin
Posts: 4729
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: DCBROWSE ... DATATOOLTIP

#4 Post by rdonnay »

Regan -

The WHEN clause disables the column thus not allowing any kind of events at all including the motion events that would generate the tooltip. You would have to use some other technique.
Show me your code.

Roger
The eXpress train is coming - and it has more cars.

Post Reply