From: SzGábor on
Thanks for the reply. I will try this.

Gábor Szõke
From: SzGábor on
I bag your pardon.
If I have an another question:

Here is the datawindow with pbcalcsle which is work right.

CLASS ptrogz_felvitel_kep INHERIT DATAWINDOW
PROTECT oDCoseg AS PBCALCSLE
........

Then I put this "PROTECT oDCoseg AS PBCALCSLE"
to the my bdatabrowser class
like this:

CLASS bdatabrowser INHERIT DATAWINDOW

PROTECT oDCbBrowser AS BBROWSER

//{{%UC%}} USER CODE STARTS HERE (do NOT remove this line)
PROTECT c_elozo_pb:=""
PROTECT a_szam[2]

PROTECT odcoseg AS pbcalcsle
PROTECT odcafa AS pbcalcsle
........

How and where can I supply this SLE to the bbrowser

I don't know if I think right what you suggested for me.

By regards:
Gábor Szõke
From: SzGábor on
It is ok, and on the method celledit


Thanks thanks thanks for Willie Moore codes

the codes:
oColumn :=
oCellEditEvent:CONTROL:GetOpenColumn(oCellEditEvent:EditCell:Column)
// The edit control shall be created

IF oCellEditEvent:EditMode=BEDIT_CREATE //1

IF InList(oColumn:ValType, "N", "D")
oCellEditEvent:EditControl :=;
SELF:oDCbBrowser:EditCreate(oCellEditEvent:EditCell:Column,
oCellEditEvent:EditCell:Row,;
oCellEditEvent:EditCell:RecNo,;
IIF(oColumn:ValType="N",#RightSLE,#DateSle))
endif

and every thing changed to good

hallelujah

By regards
Gábor Szõke
From: Geoff Schaller on
Well done!

<g>



"SzG�bor" <szgabor1961(a)gmail.com> wrote in message
news:700bc523-9472-4bb9-8063-dd1708405ea3(a)g28g2000yqh.googlegroups.com:

> It is ok, and on the method celledit
>
>
> Thanks thanks thanks for Willie Moore codes
>
> the codes:
> oColumn :=
> oCellEditEvent:CONTROL:GetOpenColumn(oCellEditEvent:EditCell:Column)
> // The edit control shall be created
>
> IF oCellEditEvent:EditMode=BEDIT_CREATE //1
>
> IF InList(oColumn:ValType, "N", "D")
> oCellEditEvent:EditControl :=;
> SELF:oDCbBrowser:EditCreate(oCellEditEvent:EditCell:Column,
> oCellEditEvent:EditCell:Row,;
> oCellEditEvent:EditCell:RecNo,;
> IIF(oColumn:ValType="N",#RightSLE,#DateSle))
> endif
>
> and every thing changed to good
>
> hallelujah
>
> By regards
> G�bor Sz�ke