Skip to Content
avatar image
Former Member

UI : BubbleEvent in Delphi doesnt Work....

Hi

When the user clicks on an item the opens a form

i want to redirect the code.

so i want to cancel the SAP code and run mine.

I tried it in VB and the

BubbleEvent = False

Works fine.

But this code in Delphi 5 does not.

if (pVal.EventType = et_Click) then

begin

if (pVal.FormUID = 'F_12')

AND (pVal.ItemUID = '10')

AND (pVal.Before_Action) then

begin

if pVal.Row = 2 then

begin

BubbleEvent := False;

end;

end;

end;

Any Ideas?????

Message was edited by: Denis Doiron

(STUPID Spaces dont stay... not very practical for programmers forum where code will be placed.... )

Message was edited by: Denis Doiron

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Mar 30, 2004 at 01:37 PM

    Had a similar problem in C++, solved it by using numerical value '-1' (or constant VARIANT_TRUE).

    Hope this helps !

    Greets

    Axel

    Add comment
    10|10000 characters needed characters exceeded