Search found 171 matches: subclass

Return to advanced search

Re: New txbrowse

... to set the colums, save the state of xbrowse (selected from users) and the let the users select one of the saved states ? I still like the idea to subclass xbrowse for our own purposes, and will look into it. Yes. Imagine you have many fields for customer archive. the programmer makes all the fields ...
by Silvio.Falconi
Mon Apr 22, 2024 7:44 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: New txbrowse
Replies: 6
Views: 385

Re: New txbrowse

... to set the colums, save the state of xbrowse (selected from users) and the let the users select one of the saved states ? I still like the idea to subclass xbrowse for our own purposes, and will look into it.
by Marc Venken
Mon Apr 22, 2024 12:20 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: New txbrowse
Replies: 6
Views: 385

Re: I'm not asking for the moon...

I tried to make a mini class but not run just to make it clear what I wanted, I understood that tget doesn't work well and a subclass is needed // TGetNumeric class #include "fivewin.ch"function Main()   local oDlg, oGet   local nVar :=0   local nVar1:=0.75   local ...
by Silvio.Falconi
Thu Jan 18, 2024 12:09 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: I'm not asking for the moon... Resolved!!
Replies: 24
Views: 2155

Re: Calculate total pages

Master Otto, master Otto!! Are you trying to trick me? hahahahaha. I asked for a PRACTICAL EXAMPLE with Fonte(.PRG) where you use this subclass model that you post. There is no way to fool the biggest super power of FIVEWIN BRASIL. hahahahahahaha. ¡¡Maestro Otto, maestro Otto!! ¿Estás tratando ...
by karinha
Fri Nov 24, 2023 4:38 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Calculate total pages
Replies: 32
Views: 5878

Re: HOW REPORT PREVIEW CAN BE CUSTOMIZED ?

... oDevice, oReport) } Now all previews use our new class, instead of FWH TPreview class. This TMyPreview class may be a subclass of TPreview class or a totally independent class. At anytime we can revert to the Default Preview in the same application by SetCustomPreview( ...
by nageswaragunupudi
Mon May 15, 2023 4:29 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: HOW REPORT PREVIEW CAN BE CUSTOMIZED ?
Replies: 8
Views: 412

Re: Problem Xbrowser Border

ukoenig wrote:I'm not sure that all these options can be added to the xBrowse class
Uwe :D


Maybe they can be added with a subclass ? It's not my cup of coffee to make classes, but it seems to be possible.
So the original class will always be useable as it is.
by Marc Venken
Tue Mar 07, 2023 4:27 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem Xbrowser Border
Replies: 11
Views: 1011

Re: xbrowse custom myBrowse

Look Here, It could help, https://forums.fivetechsupport.com/viewtopic.php?f=3&t=41749&hilit=subclass&start=15#p250334 I made it now and it run ok but for one method I must use ovverride procedure because I must re-write a xbrowse method or on each upgrade I must ...
by Silvio.Falconi
Sun Feb 26, 2023 5:22 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xbrowse custom myBrowse
Replies: 2
Views: 216

Re: What is the best PDF Printer Driver Windows to use with Five

... and the subject ( but I can edit it ). I then add text and hit the send button. It's very smooth and works perfectly. You can probably create a subclass to the Printer program that allows you to bypass the Preview viewer as a print option, and just produce and grab the PDF and auto attach it ...
by TimStone
Wed Jan 25, 2023 11:07 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: What is the best PDF Printer Driver Windows to use with Five
Replies: 11
Views: 790

Re: Subclass Xbrowse or changed data function

There is nothing special he has to do.
Just keep using XBrowse as it is.
by nageswaragunupudi
Fri Sep 09, 2022 1:58 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Subclass Xbrowse or changed data function
Replies: 5
Views: 310

Re: Subclass Xbrowse or changed data function

Dear Mr. Rao,
Therefore, I thought Mark should first save the old data before saving the new.

Best regards,
Otto
by Otto
Fri Sep 09, 2022 5:33 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Subclass Xbrowse or changed data function
Replies: 5
Views: 310

Re: Subclass Xbrowse or changed data function

If an error occurs while saving data to the DBF, bOnChange also is not executed.
by nageswaragunupudi
Fri Sep 09, 2022 1:55 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Subclass Xbrowse or changed data function
Replies: 5
Views: 310

Re: Subclass Xbrowse or changed data function

Dear Mr. Rao,
Isn't that a little unsafe?

The data is changed first, and then the old ones are backed up.
What happens if an error occurs?
Best regards,
Otto
by Otto
Thu Sep 08, 2022 9:50 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Subclass Xbrowse or changed data function
Replies: 5
Views: 310

Re: Subclass Xbrowse or changed data function

Only one line of code
Code: Select all  Expand view
oBrw:bOnChanges := <|oCol, uOldValue|
         FWLOG oCol:oBrw:BookMark, oCol:cExpr, uOldValue, oCol:Value
         return nil
         >
 

Instead of FWLOG, you can use your own write function
by nageswaragunupudi
Thu Sep 08, 2022 7:24 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Subclass Xbrowse or changed data function
Replies: 5
Views: 310

Subclass Xbrowse or changed data function

... newdata etc.... I can have Xbrowse do this for each field with the onchange , but then I have to code each field for this My question : Can we subclass xbrowse for this to do automatic ? I never want a changed personel xbrowse for my projects because I want to keep all updates. Maybe with a ...
by Marc Venken
Thu Sep 08, 2022 8:47 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Subclass Xbrowse or changed data function
Replies: 5
Views: 310
Next

Return to advanced search