Search found 293 matches: override

Return to advanced search

Re: New txbrowse

... the previous columns, obviously the state is saved. xbrowse's setcolumns() method has been changed and loaded at the beginning of the procedure in override mode. by doing this way I don't need to go and modify the original xbrowse class every time, so I always have the compatible fwh version. We ...
by Silvio.Falconi
Mon Apr 22, 2024 7:44 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: New txbrowse
Replies: 6
Views: 358

Re: New txbrowse

... I make somethig with Override but I can add or modify a method but I not Know how create new datas
by Silvio.Falconi
Fri Apr 12, 2024 3:58 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: New txbrowse
Replies: 6
Views: 358

Re: Create a Panel width a text

... in c:\fwh\source\function\imgtxtio.prg when using more Lines oPanel2 "grow" but Position of oPanel3 are same so it will "override" --- i have modify you Sample, using MEMO/READONLY/NOSCROLL instead of (extra) PANEL, which work for me so far it will "resize" ...
by Silvio.Falconi
Sat Feb 24, 2024 11:30 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Create a Panel width a text
Replies: 29
Views: 3187

Re: Create a Panel width a text

... in c:\fwh\source\function\imgtxtio.prg when using more Lines oPanel2 "grow" but Position of oPanel3 are same so it will "override" --- i have modify you Sample, using MEMO/READONLY/NOSCROLL instead of (extra) PANEL, which work for me so far it will "resize" ...
by Jimmy
Sat Feb 24, 2024 5:22 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Create a Panel width a text
Replies: 29
Views: 3187

Re: SAPI : change Voice

hi Antonio,

have installed harbour Version, which was include in my harbour_win32_bcc_2020_10_19.zip, and override hbwin.LIB
now it work without Error and i can change "Voice" of SpVoice. :D

thx again for your GREAT help.
by Jimmy
Mon Jan 29, 2024 1:21 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: SAPI : change Voice
Replies: 69
Views: 3556

Re: Inserting a string with CRLF into a single-line TGet.

... :={ |k|If( k == ASC("V") .and. GetKeyState(VK_CONTROL ), Check CRL F(), ) } for each control if the method can be modified :KeyDown via Override ? With override, the change applies to all Gets and we need not write this for each Get. If you like, you can override the method till next ...
by nageswaragunupudi
Tue Dec 12, 2023 10:49 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Inserting a string with CRLF into a single-line TGet.
Replies: 10
Views: 896

Re: Inserting a string with CRLF into a single-line TGet.

... :={ |k|If( k == ASC("V") .and. GetKeyState(VK_CONTROL ), Check CRL F(), ) } for each control if the method can be modified :KeyDown via Override ? 2. Will this function work when entering data from the clipboard via the context menu ? Can use :bChange and check which way to make these ...
by Natter
Tue Dec 12, 2023 7:47 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Inserting a string with CRLF into a single-line TGet.
Replies: 10
Views: 896

Re: Strange behavior of xBrowse

... a huge amount of content there. xBbrowse always works fine.In this case, it's my mistake . I just wanted to find the reason by looking (via Override) at the work of the xBrowse methods. I am interested in the method that is executed when a cell is clicked
by Natter
Sun Nov 26, 2023 6:45 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Strange behavior of xBrowse
Replies: 8
Views: 772

Re: OVERRIDE

Dear Silvio,

This example works fine:
Code: Select all  Expand view
function Main()

   local oError := ErrorNew()
   
   __objAddData( oError, "test" )
   
   oError:test = "hello"
   ? oError:test

return nil
by Antonio Linares
Tue Nov 14, 2023 2:03 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: OVERRIDE
Replies: 8
Views: 616

Re: OVERRIDE

Dear Silvio, You add a new DATA to the object, not to the class: #xcommand EXTEND DATA <!Message!> [IN] OBJECT <!object!> => ; __objAddData( <object>, #<Message> ) which is the object ? sample If I must add a data into Txbrowse how I can make ? EXTEND DATA aDefaultCols IN...
by Silvio.Falconi
Tue Nov 14, 2023 8:52 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: OVERRIDE
Replies: 8
Views: 616

Re: OVERRIDE

Dear Silvio,

You add a new DATA to the object, not to the class:

#xcommand EXTEND DATA <!Message!> [IN] OBJECT <!object!> => ;
__objAddData( <object>, #<Message> )
by Antonio Linares
Mon Nov 13, 2023 4:04 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: OVERRIDE
Replies: 8
Views: 616

Re: OVERRIDE

#xcommand EXTEND DATA <!Message!> [IN] CLASS <!Class!> => ; __objAddData( <Class>():classH, #<Message> ) seem run ok then if I add a data sample : EXTEND DATA aDefaultCols IN CLASS TXBrowse give me an error Error occurred at: 11/13/23, 13:13:45 Error description: Error BAS...
by Silvio.Falconi
Mon Nov 13, 2023 12:12 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: OVERRIDE
Replies: 8
Views: 616

Re: OVERRIDE

FUNCTION __objAddData( oObject, cSymbol ) it is inside: https://github.com/harbour/core/blob/master/src/rtl/objfunc.prg I tried with #xcommand EXTEND DATA <!Message!> [IN] CLASS <!Class!> __objAddData( <Class>():classH, #<Message> ) EXTEND DATA aDefaultCols IN CL...
by Silvio.Falconi
Mon Nov 13, 2023 12:02 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: OVERRIDE
Replies: 8
Views: 616

Re: OVERRIDE

FUNCTION __objAddData( oObject, cSymbol )

it is inside:
https://github.com/harbour/core/blob/master/src/rtl/objfunc.prg
by Antonio Linares
Mon Nov 13, 2023 11:52 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: OVERRIDE
Replies: 8
Views: 616

Re: OVERRIDE

... Silvio, Please review this: https://github.com/harbour/core/blob/master/src/rtl/objfunc.prg for modify a Method run ok with #xcommand OVERRIDE METHOD <!Message!> [IN] CLASS <!Class!> ;                             WITH [METHOD] <!Method!> [SCOPE ...
by Silvio.Falconi
Mon Nov 13, 2023 11:49 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: OVERRIDE
Replies: 8
Views: 616
Next

Return to advanced search