Search found 33 matches: overriding

Return to advanced search

Fivewin controls similar to javascript elements

... before possibly passing them on to the control's original procedure (similar to calling a superclass method). This is somewhat parallel to overriding event handlers in JavaScript. Differences: Language and Environment: JavaScript is a scripting language primarily used for web development, ...
by Otto
Tue Nov 21, 2023 7:33 am
 
Forum: mod_harbour
Topic: Fivewin controls similar to javascript elements
Replies: 2
Views: 1119

Re: SUB-CLASS TFolderEx()

Dear Jimmy,

If you add a method with the same name, you are in fact overriding it.

Please try it :-)
by Antonio Linares
Sat Feb 04, 2023 9:17 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: SUB-CLASS TFolderEx()
Replies: 20
Views: 1156

Re: Dialog or Form

... const input = document.querySelector("input[type=file]");input.value = "foo";  how can I prevent the code from overriding existing values in the database with an empty string everytime the user doesn´t select an image? kind regards and many thanks in advance ...
by Ruth
Thu Oct 27, 2022 3:49 pm
 
Forum: mod_harbour
Topic: Dialog or Form
Replies: 23
Views: 4636

Re: FW Preview user style

Here is a simple example of overriding a method in a class with a new class that inherits from the parent class. /*Purpose  : Simple example showing inheritance and overriding           a method from the parent classProgram  : Inheritance.prgAuthor ...
by James Bott
Fri May 13, 2022 4:18 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FW Preview user style
Replies: 24
Views: 1698

Re: Error log location

Thank you Antonio, overriding the library function will work. I already use these functions in my code to override other default logs locations for FWH apps: SetErrorPath( cLogDir ) SetErrorFileName( "error.log" ) What I ...
by rhlawek
Thu Jun 24, 2021 11:25 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Error log location
Replies: 4
Views: 430

About TCalendar

... "HandleEvent", @simplyNil())   // *** *** and static function simplyNil()return nil another way is overriding HandleEvent in TCalendar, of course. Here a couple of video with the missing animations : https://imgur.com/a/vA0lNfn Another piece ...
by AntoninoP
Mon Dec 07, 2020 10:07 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: About TCalendar
Replies: 16
Views: 2769

Re: Ribbon Theme

... hDCMem, nRow + 1, nCol, nRow + ::nHeightFld + 1, nCol + ::aSizes[ nPrompt ], ::aGradOver )endif  We can fix the color issue by overriding the PaintFld() method and using ::aGradOver even when l2010 is set. This would only be used when configuring the ribbonbar to look like Office ...
by James Bott
Tue Oct 23, 2018 5:05 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Ribbon Theme
Replies: 163
Views: 28222

Re: Can TGraph do X,Y plots?

... to a reasonable number that made the chart look right. E.G. rounding 10.3 to 11 or 15 or whatever. Of course, being able to specify the ranges by overriding the internal calculations would also be useful. ------------------------------ May I suggest changing this line: oChart:nType := GRAPH_TYPE_XY_AQ ...
by alvaro533
Tue Mar 06, 2018 6:48 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Can TGraph do X,Y plots?
Replies: 18
Views: 5503

Re: Can TGraph do X,Y plots?

... to a reasonable number that made the chart look right. E.G. rounding 10.3 to 11 or 15 or whatever. Of course, being able to specify the ranges by overriding the internal calculations would also be useful. ------------------------------ May I suggest changing this line: oChart:nType := GRAPH_TYPE_XY_AQ ...
by James Bott
Tue Mar 06, 2018 5:26 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Can TGraph do X,Y plots?
Replies: 18
Views: 5503

FWH 16.11 : XBrowse Bitmap and Text Alignment

... Text is displayed leaving a margin of 5 pixels after oCol:nBmpWidth. If required, the programmer can specify oBrw:nRowHeight and oCol:nBmpWidth, overriding the default calculations. Here is the same browse with default calculations by xbrowse. http://imagizer.imageshack.us/v2/xq90/921/EYIZpi.png ...
by nageswaragunupudi
Tue Nov 29, 2016 7:16 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH 16.11 : XBrowse Bitmap and Text Alignment
Replies: 1
Views: 1056

Re: ADO : Building columns , NULL ... DEFAULT

... nil is equivalent to assigning NULL. When we assign NULL, server does not use Default value. Server thinks that we wanted the value to be NULL overriding the default value. So it is desirable to assign DEFAULT. This can be done either by omitting the assignment in SQL statement of specifically ...
by nageswaragunupudi
Wed Sep 21, 2016 1:12 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO : Building columns , NULL ... DEFAULT
Replies: 7
Views: 1466

BTNBMP 16.04 : Translucent buttons, Textured buttons, HGrad

... nil  In FWH 16.04, greater flexibility is provided for specifying bClrGrad of TBtnBmp. As in earlier versions, we can assign out own bClrGrad overriding the default bClrGrad provided by default for styles 2007 to 2015. Once we provide our own bClrGrad, it does not matter if the style is 2007 ...
by nageswaragunupudi
Mon May 16, 2016 10:45 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: BTNBMP 16.04 : Translucent buttons, Textured buttons, HGrad
Replies: 1
Views: 655

Re: PUBLIC var declaration issue

... memvar declarations since I am trying to document all vars used in each function. This is mainly so I can look for locals and privates that may be overriding publics. As I am sure you know these situations can be nightmares producing bugs that are extremely hard to find. Since I have stopped using ...
by James Bott
Sun Aug 30, 2015 3:14 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: PUBLIC var declaration issue
Replies: 26
Views: 6315

Re: BTNBMP with windows style

... flat style) are painted using the selected theme. Individual buttons can also be set as themed or not themed by setting oBtn:SetThemed( lOnOff ), overriding the global setting. Thanks to Mr Antonio Perricone. http://forums.fivetechsupport.com/viewtopic.php?f=22&t=30403 Many thanks Antonino! :-)
by Antonio Linares
Fri Jun 05, 2015 11:48 am
 
Forum: To do - WishList / Por hacer - Peticiones
Topic: BTNBMP with windows style
Replies: 6
Views: 6153

New FTDN May 2015 (FWH 15.05)

... flat style) are painted using the selected theme. Individual buttons can also be set as themed or not themed by setting oBtn:SetThemed( lOnOff ), overriding the global setting. Thanks to Mr Antonio Perricone. http://forums.fivetechsupport.com/viewtopic.php?f=22&t=30403
by Antonio Linares
Fri Jun 05, 2015 11:15 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN May 2015 (FWH 15.05)
Replies: 5
Views: 3269
Next

Return to advanced search