Search found 31 matches: derive

Searched query: derive

by nageswaragunupudi
Tue May 30, 2023 1:13 am
Forum: FiveWin for Harbour/xHarbour
Topic: can use SWITCH Control in XBROWSE ?
Replies: 7
Views: 985

Re: can use SWITCH Control in XBROWSE ?

Can also derive our own browse class from TXBrowse.

Code: Select all | Expand

CLASS TMyBrowse FROM TXBrowse
//
DATA bColClass INIT { || TMyColumn() }
//
ENDCLASS
Then

Code: Select all | Expand

@ r,c XBROWSE <clauses> CLASS TMyBrowse() <moreClauses>
or

Code: Select all | Expand

@ r,c XBROWSE <clauses> CLASS { || TMyBrowse() }<moreClauses>
by nageswaragunupudi
Tue Oct 18, 2022 9:05 am
Forum: FiveWin for Harbour/xHarbour
Topic: bOr / nOr : how to "add" Constante under FiveWin
Replies: 8
Views: 697

Re: bOr / nOr : how to "add" Constante under FiveWin

Am I write in my understanding the you are developing a new class TGRID using ListView. For it to work with FWH Windows and dialogs, we have to derive the class from TControl.
CLASS TGrid FROM TControl
TControl is derived from TWinndow.
So the new TGrid class already has all methods of TControl and ...
by Antonio Linares
Sun Feb 07, 2021 9:10 am
Forum: WhatsNew / Novedades
Topic: New FTDN January/Enero 2021 (FWH 21.01)
Replies: 1
Views: 2824

New FTDN January/Enero 2021 (FWH 21.01)

... not specify any bitmaps, xbrowse provides
default bitmaps.

* TREES: (LinkList class)
- Inheritance from TTreeItem class.
It is now possible to derive class from TTreeItem and create trees with the same
command syntax using the new derived class.

- Usage:
- Create a derived class from TTreeItem ...
by hua
Tue Dec 17, 2019 3:12 am
Forum: FiveWin for Harbour/xHarbour
Topic: Old DOS to new Windows = Conversion thoughts
Replies: 15
Views: 3027

Re: Old DOS to new Windows = Conversion thoughts

>gfAttr : An assembly language program to derive system attributes for the GrumpFish library
Seems to be just for drawing shadow - m
Maybe you can experiment replacing it with ft_shadow . Worst case, maybe just rem it out altogether since it's pure cosmetics only.

>FT_IDLE, IAMIDLE, ON_IDLE.: All ...
by TimStone
Tue Dec 17, 2019 2:18 am
Forum: FiveWin for Harbour/xHarbour
Topic: Old DOS to new Windows = Conversion thoughts
Replies: 15
Views: 3027

Re: Old DOS to new Windows = Conversion thoughts

... calls that perhaps someone has worked with ( UNRESOLVED EXTERNALS ). Perhaps someone here has used them:

gfAttr : An assembly language program to derive system attributes for the GrumpFish library

FT_IDLE, IAMIDLE, ON_IDLE.: All functions exist undocumented in Clipper but not in the commercial ...
by nageswaragunupudi
Sun Mar 03, 2019 3:23 am
Forum: FiveWin for Harbour/xHarbour
Topic: To Nages : Explain me how I must make this tdatabase
Replies: 18
Views: 5306

Re: To Nages : Explain me how I must make this tdatabase

Dear Mr. Silvio

The basic issue is about AutoInc IDs. Basically the programmer has to decide the logic for this.
Available alternatives:

1. Derive the new ID on the basis on RECNO() . This is what is used in your code above. The danger in this approach is that you will have duplicate IDs when DBF ...
by joseluisysturiz
Sat Sep 02, 2017 11:39 pm
Forum: FiveWin for Harbour/xHarbour
Topic: ROULETTE OF THE FORTUNE - ROTATE ROUND PICTURE
Replies: 21
Views: 6373

Re: ROULETTE OF THE FORTUNE - ROTATE ROUND PICTURE

... inside ximage rectangle. Place it as separate bitmap on the right side of ximage.
Visually user can read the number
Through program you should derive the number from oImage:nRotation

Mr. Nage, the arrow as you say put it out of the image that rotates, in this case the roulette, I just put it as ...
by nageswaragunupudi
Sat Sep 02, 2017 8:29 pm
Forum: FiveWin for Harbour/xHarbour
Topic: ROULETTE OF THE FORTUNE - ROTATE ROUND PICTURE
Replies: 21
Views: 6373

Re: ROULETTE OF THE FORTUNE - ROTATE ROUND PICTURE

Do not put the arrow inside ximage rectangle. Place it as separate bitmap on the right side of ximage.
Visually user can read the number
Through program you should derive the number from oImage:nRotation
by nageswaragunupudi
Fri Jul 01, 2016 9:32 am
Forum: FiveWin for Harbour/xHarbour
Topic: FWH 16.08 : Built-in MySql/MariaDB functionality (Updated )
Replies: 76
Views: 37975

FWH 16.08 : Built-in MySql/MariaDB functionality (Updated )

... may be done only with the above command or function.

New in FWH 16.08:
If we already have an active connection created with ADO or TMySql we can derive FW connection from that connection.
oCn := maria_Connect&#40; oAdoCn &#40;or&#41; oTMySqlCon &#41;

DATAs
ReadOnly
cClientInfo, cServerInfo ...
by James Bott
Sat Mar 19, 2016 5:08 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Color with Transparency
Replies: 8
Views: 1783

Color with Transparency

... you may find that your program needs colors that aren't defined in the theme file. While you could hardwire such colors, a better approach is to derive colors from the theme or system colors. Strategically using this approach gives you all the benefits of using theme and system colors, but with ...
by nageswaragunupudi
Mon Jul 14, 2014 4:36 pm
Forum: FiveWin for Harbour/xHarbour
Topic: ADO RecordSet to DBF
Replies: 16
Views: 5391

Re: ADO RecordSet to DBF

... For numeric fields like double, float, etc.
we need to set Len and Dec on our own.

If you go through METHOD SetColFromADO() in the xbrowse.prg you can find how to use all the above how to derive DBF style types, etc from the above information.

This should be enough to answer all your questions.
by nageswaragunupudi
Sat Aug 17, 2013 10:12 pm
Forum: FiveWin for Harbour/xHarbour
Topic: XBROWSE determine FOOTER coordinates
Replies: 9
Views: 2568

Re: XBROWSE determine FOOTER coordinates

You are right. It is oCol:nDisplayCol not nDisplayPos. Sorry for my mistake,

These coordinates are relative to oBrw:hWnd. You need to derive coordinates relative to the screen for use to create a dialog. You may consider using the function ClientToScreen(...).
by nageswaragunupudi
Fri Apr 26, 2013 4:41 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Say Transparent...problems - ( Gradient Partial )
Replies: 8
Views: 3804

Re: Say Transparent...problems - ( Gradient Partial )

Can we not simplify this program using the latest features like GRADIENT clause?
Also we can derive one combined aGrad array from multiple Grad arrays.
function TestGradPartial&#40;&#41;&nbsp; &nbsp;local oDlg, oFont, oBrush&nbsp; &nbsp;local aGrad&nbsp; &nbsp;aGrad := &#123; &#123; 0.10, RGB&#40 ...
by nageswaragunupudi
Wed Feb 27, 2013 3:24 am
Forum: FiveWin for Harbour/xHarbour
Topic: Sorting xBrowse on an encrypted ADO table
Replies: 2
Views: 921

Re: Sorting xBrowse on an encrypted ADO table

... so that by mistake we do not save the modifications. Replace the fname,lname,mname with the decrypted values. Override oBrw:bSave := { || nil }. Then browse the recordset. Use oCol:cSortOrder := 'LNAME,FNAME,LNAME'.
This is possible but it is far more easier to derive an array and browse the array.
by nageswaragunupudi
Wed Aug 10, 2011 11:55 pm
Forum: FiveWin para Harbour/xHarbour
Topic: Como tatalizo una coloumna con Xbrowse
Replies: 10
Views: 1981

Re: Como tatalizo una coloumna con Xbrowse

... the data in
its native type ( 'N', "C", "D", "L" ) and optionally assigining the picture to
oCol:cEditPicture. Browse class will automatically derive the bStrData from the
bEditValue and cEditPicture, if specified, and in addition the Browse can
appropriately handle the values for alignment ...