Add EditTable Feature - Options (OpenInsight Specific)
At 19 JUN 2000 04:52:56PM [email protected] wrote:
To all,
I've looked, but I don't see how one can easily add a popup feature to any (or one) columns within an EditTable. In AREV (hate to say this), it was easy to add an option to an Associated MultiValue Field. I'm not sure how to do this OI with its EDITTable. However, I'm sure that someone has done this and therefore possible.
I would appreciate any suggestions or help.
[email protected] onmouseover=window.status=imagine … ;return(true)"
Ray Chan ~ Symmetry Info
At 19 JUN 2000 06:00PM Oystein Reigem wrote:
Ray,
What's the problem?
The default Alt-Down accelerator key is quaint, but you can always change that. (Or can't you? I'm confused… This Danish beer must be stronger than I thought…) Myself I've used buttons - one for each column I need a popup for. Each button sends an OPTIONS message to the edit table.
On the OPTIONS event of the edit table you must check which column to do a popup for. If you use buttons it's the selected cell you must check:
ColAndRowNo=Get_Property( CtrlName, "SELPOS" )
ColNo=ColAndRowNo
RowNo=ColAndRowNo
Then find out which column/field it is:
ColName=Get_Property( CtrlName, "COLUMN" )
Then you might have different things to do for each column/field:
begin case
case ColName=BRAND'
. /* do brand name popup */
. RetVal=… … …
case ColName=PERSON'
. /* do person popup */
. RetVal=… … …
end case
/* put selected value in edit table */
if RetVal then
. UnUsed=Set_Property( @Window : ".ET", "CELLPOS", RetVal, ColNo:@FM:RowNo )
end
Is there any sense in this. (If not, blame Carlsberg!)
- Oystein -
At 19 JUN 2000 10:03PM [email protected] wrote:
Oystein,
What's the problem?
Well, I wish I could say that it was the Carlsberg] . I was starting to do something with a EditTable and then I wondered how I would put an option on a column. I did some research (really) and nothing poped up. So I posted a message. As soon as I did this, I see that there is an Popup Event associated with the EditTable (duh, very embarrassed I am). Any case you comment is very much appreciated in that I learned about the "Column" property (very nice). It's a big help.
…Myself I've used buttons - one for each column I need a popup for. Each button sends an OPTIONS message to the edit table.
Where in the world are you putting the buttons in the column? Is this some deep, dark secret or am I more blind and stupid than I originally thougth ;). Please share if you can because I was wondering how I would visually communicate to the user that a popup option is available.
Thanks,
Ray
[email protected] onmouseover=window.status=imagine … ;return(true)"
Ray Chan ~ Symmetry Info
At 20 JUN 2000 01:49AM Don Bakke wrote:
Ray,
If I'm not mistaken I believe Oystein meant that he puts buttons on the form outside his edittable. He then uses the SELPOS (or similar) property to determine where the result should end up.
We have developed an encapsulated routine that will place a drop-down looking button in the right side of an edittable cell. It's configurable so only those cells (i.e. columns) that should have an OPTIONS event will display the button. Upon clicking the button it will, of course, launch the OPTIONS event for that edittable.
Being that this is something we have spent a good deal of effort to develop we only provide it on a sales basis. Email or call me if you are at all interested.
At 20 JUN 2000 09:10AM Ray Chan wrote:
Don,
Being that this is something we have spent a good deal of effort to develop we only provide it on a sales basis. Email or call me if you are at all interested.
Thanks. Will contact you .
Ray Chan
At 20 JUN 2000 09:52AM [url=http://www.sprezzatura.com" onMouseOver=window.status=Click here to visit our web site?';return(true)]The Sprezzatura Group[/url] wrote:
We do the same but use the doubleclick event to launch the popup.
World Leaders in all things RevSoft
At 21 JUN 2000 04:38AM Oystein Reigem wrote:
Dear Sprezzaturian,
What if you also need CLICK? As far as I remember you can have CLICK or DOUBLECLK, but not both.
- Oystein -
At 22 JUN 2000 03:12AM Dean Todd - Computer Resource Team - Orlando wrote:
I have an app with a Form with a five-column EditTable.
I call a popup from the 4th column with a double-click. (Cursor must be in position-4. If not, nothing happens.)
Here's the script code:
Declare Function Get_Property
Make sure we're in Column 4 when we doubleclickPay_list=Get_Property(@WINDOW :'.PAYTABLE', 'SELPOS')swap @SVM with @VM in Pay_listcol=Pay_listif col= 4 then return 1RETURN 0Then I use a QuickEvent to call a PopUp, which probably should have been coded in the script. However, we did this years ago and see no need to "clean it up now."
At 22 JUN 2000 08:09PM [email protected] wrote:
Dean,
Thanks for the input.
[email protected] onmouseover=window.status=imagine … ;return(true)"
Ray Chan ~ Symmetry Info