topic stringlengths 1 63 | text stringlengths 1 577k ⌀ |
|---|---|
Can I change the DIALOG TITLE to Non-Standard Windows? | DEFINE DIALOG oDlg .............STYLE <yourstyle> |
Can I change the DIALOG TITLE to Non-Standard Windows? | Dear Mr.Rao,
If I need like this, how do I make it in DEFINE ... STYLE...?
[img:l6prhpkq]https://www.img.in.th/images/8e3f5f8a8b2f705d8fadb013653b6742.png[/img:l6prhpkq] |
Can I change the DIALOG TITLE to Non-Standard Windows? | Dutch,
Please review FWH\samples\skin1.prg and skin2.prg |
Can I change the DIALOG TITLE to Non-Standard Windows? | And
<!-- l --><a class="postlink-local" href="http://forums.fivetechsupport.com/viewtopic.php?f=6&t=30870#p177769">viewtopic.php?f=6&t=30870#p177769</a><!-- l -->
with class TTitle |
Can I change the DIALOG TITLE to Non-Standard Windows? | Dear All,
I mean, I need to change existing program with define function. I try to change by put a function after define dialog. The problem is the STYLE will remove the TITLE and cut the TITLE space out too. Can I use STYLE and the size is the same? Then I can make the (our title style) TITLE in the same place of... |
Can I change the DIALOG TITLE to Non-Standard Windows? | Dutch,
You need to resize all dialogs doing:
oDlg:Resize( oDlg:nWidth, oDlg:nHeight + 30 )
then finally, you have to move all controls downwards:
AEval( oDlg:aControls, { | oCtrl | oCtrl:SetPos( oCtrl:nTop + 30, oCtrl:nLeft ) } )
If you need to move controls that don't use REDEFINE, then I will show you how to do... |
Can I change the DIALOG TITLE to Non-Standard Windows? | Dear Antonio,
If the change will effect with display speed, I don't need it. Because it will make the program slower, if there are many control in a Dialog. |
Can I change the report viewer ? | Dear All,
One of my client is an old one and he finds it difficult to make out the report in our Report preview dialog. He wants to view the report in slightly bigger size (bigger than 1 and smaller than 2) and with a cursor like line which show which is the current line. He tend to mix two lines when report is horiz... |
Can I change the report viewer ? | Milan,
To provide a different magnification you can modify the RPREVIEW.PRG file.
To get a highlight is more difficult. One way would be to print the report to a file, create a temp dbf with a single wide field, then read the report file and post one line to each record of the browse. Finally browse the temp.dbf with... |
Can I change the report viewer ? | [quote="Milan Mehta":2q3k3obd][...] and with a cursor like line which show which is the current line. He tend to mix two lines when report is horizontally long.[/quote:2q3k3obd]
Can't you just activate lSeparator (or similar) to draw horizontal lines separating the report lines?
EMG |
Can I change the report viewer ? | For a hair cross you should try:
rpreview.prg
oMeta1:bMMoved:={|y,x,flags| oMeta1:line (y,0,y,500) }
But there is some extra work to save/restore the screen.
Otto
rpreview.prg
oMeta1:bMMoved:={|y,x,flags| oMeta1:line (y,0,y,500) }
oMeta1 := TMetaFile():New( 0, 0, 0, 0,;
aFiles[1],;... |
Can I change the report viewer ? | Hello,
HairCross Cursor is working:
Insert
oMeta1:bMMoved:={|y,x,flags|hairCross(oMeta1,y,x) }
in FUNCTION RPreview( oDevice ) in rpreview.prg.
func hairCross(oMeta1,y,x)
nCount:=nCount+1
IF nCount > 5
nCount:=0
oMeta1:refresh()
sysrefresh()
oMeta1:line (0,x,1800,x)
... |
Can I change the report viewer ? | Milan,
An interesting feature we found in Crystal Report were you can navigate in the report page like a browse.
Many months ago I tryed to adapt it to RPreview but without success <!-- s:-( --><img src="{SMILIES_PATH}/icon_sad.gif" alt=":-(" title="Sad" /><!-- s:-( -->
If anybody know how...
But I think Otto's idea v... |
Can I connect 2 ADS in the same time? | Dear All,
I would like to open the free database in 2 ADS in the same time but it has show ADSCDX/5024 error message.
Can I do that? |
Can I connect 2 ADS in the same time? | [quote="dutch":35ewsqo9]Dear All,
I would like to open the free database in 2 ADS in the same time but it has show ADSCDX/5024 error message.
Can I do that?[/quote:35ewsqo9]
For you to open several connections must use data dictionary ads, so you can open the connection by setting the handle.
Yesterday I launched t... |
Can I connect 2 ADS in the same time? | Thanks Giovany, I will try.
[quote="Giovany Vecchi":2mi4m3rk][quote="dutch":2mi4m3rk]Dear All,
I would like to open the free database in 2 ADS in the same time but it has show ADSCDX/5024 error message.
Can I do that?[/quote:2mi4m3rk]
For you to open several connections must use data dictionary ads, so you can open ... |
Can I get an example of tsbrowse+ADS+TDatabase objects | Hi allAs per subject.Regards.,Ramesh Babu P |
Can I get an example of tsbrowse+ADS+TDatabase objects | Hello Mr.Manuel Mercado and Friends,As per subject.- Ramesh Babu P |
Can I get an example of tsbrowse+ADS+TDatabase objects | // Create the BROWSE REDEFINE BROWSE oLbxin ID 716 OF oDiw ON CHANGE oDiw:update( ) UPDATE oLbxin:setoDBF( oInv ) add column to oLbxin header "Part" data oInv:invnum ALIGN 0,1 size 150 add column to oLbxin Header "Description" data oInv:invdes ALIGN 0,1 size 300 add column to oLbxin header "Cross Ref." data ... |
Can I get an example of tsbrowse+ADS+TDatabase objects | Mr.Tim,Thank you very much. This is what exactly what I am looking for.Regards,- Ramesh Babu P |
Can I get object from handle? | Hi,
I have two application of uses fwh.
First one is testfont.prg that is changed a little bit in fwh sample directory.
[code=fw:j23hhqmh]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #B900B9;">// Testing fonts</span><br /><br /><span style="color: #00D7D7;">#include</span> <span styl... |
Can I get object from handle? | Sorry, I didn't quite understand your question.
Regards. |
Can I get object from handle? | [quote="karinha":1gkqlqlq]Sorry, I didn't quite understand your question.
Regards.[/quote:1gkqlqlq]
I have 2 applications compiled with fwh. the first one has a "SAY" object. the other has a button. When I press the button from the other program, I want to change the text of the say object in the first program. |
Can I get object from handle? | [code=fw:45vfkrqo]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #B900B9;">// C:\FWH..\SAMPLES\HORIZON1.PRG</span><br /><br /><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"FiveWin.ch"</span><br /><br /><span style="color: #00D7D7;">#Define</span> CLR_O... |
Can I get object from handle? | [quote:39drr45o]I think oWndfromhWnd() function can only find objects within the same application.
[/quote:39drr45o]
Yes, you are right. |
Can I get object from handle? | [quote="karinha":3cgp5lm6][code=fw:3cgp5lm6]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #B900B9;">// C:\FWH..\SAMPLES\HORIZON1.PRG</span><br /><br /><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"FiveWin.ch"</span><br /><br /><span style="color: #00D... |
Can I get object from handle? | [quote="nageswaragunupudi":tz8zo67d][quote:tz8zo67d]I think oWndfromhWnd() function can only find objects within the same application.
[/quote:tz8zo67d]
Yes, you are right.[/quote:tz8zo67d]
Hi Mr. Rao,
Is it possible to save the oWnd object in first application and read it from second application. With this read inf... |
Can I get object from handle? | Switching from one to another calling from one EXECUTABLE to the other, I believe it is impossible. maybe, if you create a database or a *.TXT and change it into an .exe and call it from the other, you know?
Pasar de uno a otro llamando de un EJECUTABLE a otro, creo que es imposible. tal vez, si creas una base de dato... |
Can I get object from handle? | An idea, do you have access to the sources of the two programs? If yes, I think you will be able to pass VIA PARAMETER, not sure.
Una idea, tienes acceso a las fuentes de los dos programas? En caso afirmativo, creo que podrá pasar VIA PARÁMETRO, no estoy seguro.
Regards, saludos. |
Can I get object from handle? | Hi, Horizon !
You can do this. In the [b:30r71k4z]TSAY[/b:30r71k4z] application in the window method [b:30r71k4z]::handleEvent()[/b:30r71k4z] describing the processing of a unique event.
For example:
if valtype(nMsg)="C"
oDlg:AControls[1]:SetText(msg)
return
endif
::Super...
From the application with the [b:30r... |
Can I get object from handle? | Dear Hakan,
Here you have it using EnumChildWindows()
You can also query the control for its ID or class
second.prg
[code=fw:mnixvne8]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"FiveWin.ch"</span><br /><br /><span style="color... |
Can I get object from handle? | hi,
when have only 1 x Control you can use FindWindowEx() "inside" FindWindow()
[url:21vw0jcx]https://learn.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-findwindowexa[/url:21vw0jcx]
[url:21vw0jcx]https://learn.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-findwindowexw[/u... |
Can I get object from handle? | Hello ;
Another idea would be to generate a "network wide message" anytime an event is triggered. Then have your apps listen for that message on another thread. If the message is received, then update the object being displayed or execute whatever code to handle the message.
I know this is not exactly what you are... |
Can I get object from handle? | Thank you to all for your ideas.
I will check and write results here. |
Can I get object from handle? | [quote="Antonio Linares":2aruuexm]Dear Hakan,
Here you have it using EnumChildWindows()
You can also query the control for its ID or class
second.prg
[code=fw:2aruuexm]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"FiveWin.ch"</s... |
Can I get object from handle? | Dear Hakan,
Have you checked if EnumChildWindow() returns the TWebView hCtrl ? |
Can I increase WINDOW TITLE height? | Can I increase WINDOW TITLE height? Because the resolution of monitor is very high but the window title is still very small as picture.
[url=https://postimages.org/:3e5qy8rs][img:3e5qy8rs]https://s26.postimg.org/uyqvv65h5/menu.png[/img:3e5qy8rs][/url:3e5qy8rs] |
Can I increase WINDOW TITLE height? | Dutch,
I don't remember ever seeing a different title bar height in any application (FW or otherwise), so I doubt it.
James |
Can I increase WINDOW TITLE height? | Dear James,
In the past, Windows allow to modify appearance as font size, title height and etc. My idea is just thinking to change UI without modify all dialog with POPUP , add title and back button in all work.
Thank you. |
Can I learn Linux with Fivewin | Mr. Antonio
I'm newbie on Linux. <!-- s:lol: --><img src="{SMILIES_PATH}/icon_lol.gif" alt=":lol:" title="Laughing" /><!-- s:lol: -->
What can I do with Linux with Fivewin
Thank's
Areang |
Can I learn Linux with Fivewin | Areang,
You can run your Windows apps on Linux using "Wine" emulator.
Using FiveLinux you can build native Linux apps.
Anyhow, it is recommended that you use Linux for several days to get used to it. |
Can I learn Linux with Fivewin | Mr. Antonio,
How about Xandros
regards
areang |
Can I learn Linux with Fivewin | Areang,
Though you may use any Linux distro, including Xandros, we do recommend Ubuntu, as it has been the most popular Linux distro this year 2006 and its getting better and better. |
Can I learn Linux with Fivewin | Mr. Antonio
Thank's for reply, I will try it
Can you give me some text file help, how to install fivewin in linux and how to compile my source code
Thank's
Best Regards
Areang |
Can I learn Linux with Fivewin | Areang,
Do you plan to use Wine and build Windows apps on Linux ? |
Can I learn Linux with Fivewin | > Do you plan to use Wine and build Windows apps on Linux ?
What is Wine ?
Is Application for execute EXE file on Linux ?
Thank's
Areang |
Can I learn Linux with Fivewin | Mr. Antonio
<!-- s:cry: --><img src="{SMILIES_PATH}/icon_cry.gif" alt=":cry:" title="Crying or Very sad" /><!-- s:cry: --> <!-- s:cry: --><img src="{SMILIES_PATH}/icon_cry.gif" alt=":cry:" title="Crying or Very sad" /><!-- s:cry: --> <!-- s:cry: --><img src="{SMILIES_PATH}/icon_cry.gif" alt=":cry:" title="Crying or ... |
Can I learn Linux with Fivewin | Areang,
"Wine" is a Windows emulator that lets you run Windows application on Linux. We may capture several screens and post them here so you can review them. |
Can I recompile May 2006 build of Fwh ? | I am having May 2006 build of FWH and pretty happy with it.
I am also using latest free.xHarbour.com binaries.
Can I recompile my FWH with latest xHarbour ?
If yes, can anyone help me with XBP file ?
TIA
Milan. |
Can I recompile May 2006 build of Fwh ? | Milan,
You can easily use this batch file:
[code=fw:r7llgnag]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #00C800;">for</span> %%f in <span style="color: #000000;">(</span>*.prg<span style="color: #000000;">)</span> <span style="color: #00C800;">do</span> c:\harbour\bin\h... |
Can I recompile May 2006 build of Fwh ? | Antonio,
Very nice of you.
Just guide me further, which PRG to link in Fivehx.lib and which PRG to link in Fivehc.lib ?
In fact there are three folders under folder Source : Classes, Function and WinAPI.
TIA
Milan. |
Can I recompile May 2006 build of Fwh ? | Milan,
FiveHX.lib just contains PRG files.
FiveHC.lib just contains C files.
<!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> |
Can I rotate an Image 180 Degrees with Freeimage | I need to turn upside down scanned images. Does TImage have the posibility? |
Can I rotate an Image 180 Degrees with Freeimage | Paul,you can use these functions to rotate images with FreeImage[code:37gxfso1]DLL32 STATIC FUNCTION FIRotate ( hDib AS LONG, nAngle AS _DOUBLE ) AS LONG;
PASCAL FROM "_FreeImage_RotateClassic@12" LIB hLib
DLL32 STATIC FUNCTION FIRotateEX ( hDib AS LONG, nAngle AS _DOUBLE, x_Shift AS _DOUBLE,y_Shift ... |
Can I rotate an Image 180 Degrees with Freeimage | Hi,I have two images en test.tiffI try show the second imagen with freeimage.... This is possible ??Regards,Fernando |
Can I rotate an Image 180 Degrees with Freeimage | Fernando,[quote="fleal":3p7zz0s0]Hi,
I have two images en test.tiff
I try show the second imagen with freeimage.... This is possible ??
[/quote:3p7zz0s0]I don´t know, you can look in the manual of freeimage if such a feature is supported |
Can I show My Dialg Window in front of any other window? | How Can I show NEW Dialog Window in front of any other window?
We are on programming a CID prg for Telephone Caller identification..
As you know, CID prg stay back and the users are on work with other software..
When there is phone Call, there should be "POP-UP" as following.
[url:33p9tg9n]http://pharmalink... |
Can I show My Dialg Window in front of any other window? | yes.
exist a style for windows for this.
i dont remmenber, sorry, please search in thes forums
[url:2szq3qqy]http://forums.fivetechsupport.com/viewtopic.php?f=6&t=14366&p=74173&hilit=Topmost#p74173[/url:2szq3qqy]
top most |
Can I show My Dialg Window in front of any other window? | Mr. Carlos vargas,
Thanks for your post..
But, in my case, I hope to show my new Dialog to be shown in front of other windows, as soon as generated...
[code=fw:a9ja3748]<div class="fw" id="{CB}" style="font-family: monospace;"><br /> <span style="color: #0000ff;">DEFINE</span> <span style="color: #000... |
Can I show My Dialg Window in front of any other window? | Mr. Kim:
Try with ON TOP dialog as follow:
[code=fw:l73l4sm1]<div class="fw" id="{CB}" style="font-family: monospace;"><br /> <span style="color: #0000ff;">ACTIVATE</span> <span style="color: #0000ff;">DIALOG</span> oDlg <span style="color: #0000ff;">ON</span> <span style="color: #0000ff;">INIT</span> Se... |
Can I show My Dialg Window in front of any other window? | Mr. Kim,
Try this
[code=fw:xahjqo2y]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><br /><span style="color: #0000ff;">ACTIVATE</span> <span style="color: #0000ff;">WINDOW</span> oWnd <span style="color: #0000ff;">ON</span> <span style="color: #0000ff;">PAINT</span> <span style="color: #000000;">(... |
Can I show My Dialg Window in front of any other window? | Dear Mr. Armando,and Mr.Rameshbabu
Thanks for you comments...
I will try, and will report.. |
Can I show html tag as webpage in FWH? | Can I preview html email format as webpage before send to customer?
Thanks in advance, |
Can I show html tag as webpage in FWH? | Write as html file, use Shell.Explorer Activex to read and display by Navigate2(...) method.
I do not know a better method than this. if there is one, I am equally interested in learning. |
Can I type Chinese in ANSI format (normal text file)? | Dear AllI type Chinese in notepad and it alway show "Unicode Font". When I save as ANSI format, Chinese Font is disappear. What I gonna do?Thanks&Regards,Dutch |
Can I type Chinese in ANSI format (normal text file)? | HiHow about copy Windows OS Chinese( CHT ) default FONT files?Regards,Richard |
Can I type Chinese in ANSI format (normal text file)? | Dear Richard,I've use Windows Vista Business and it has many chinese font such as Ming Liu, Kai Ti, Microsoft JhengHei, Microsoft YaHei and etc.Regards,Dutch |
Can I type Chinese in ANSI format (normal text file)? | [quote="dutch":gjdvk5ps]Dear Richard,
I've use Windows Vista Business and it has many chinese font such as Ming Liu, Kai Ti, Microsoft JhengHei, Microsoft YaHei and etc.
Regards,
Dutch[/quote:gjdvk5ps]HiI have not try Vista English version, so I don't know input Chinese word work or not. But Vista CHT version, I thin... |
Can I type Chinese in ANSI format (normal text file)? | Dear Richard,I think the problem is my Windows. The system location is Thai and the default code page is OEM/874 (Thai). I try to try in UEStudio with Thai Language (2 charactor), it shows Chinese Language but when I open file with notepad. It show Thai word.I don't know the solution now.Regards,Dutch |
Can I type Chinese in ANSI format (normal text file)? | Maybe you can investigate these Dutch. They should allow you to input/display chinese caharacters on even regular windows. I'm not sure how effective they are though:i. <!-- m --><a class="postlink" href="http://www.njstar.com/">http://www.njstar.com/</a><!-- m -->ii. <!-- m --><a class="postlink" href="http://chinese-... |
Can I type Chinese in ANSI format (normal text file)? | Dear Hua,I can type Chinese in UESTUDIO 6.0 now. I change my System Locale to "Chinese (PRC)" and Location to China. I try AppLoc.exe too but not work.The problem is word in source code and display in program are difference. I don't know why?Regards,Dutch |
Can I use BCC102 instead of BCC 7.4? | Dear Mr. Antonio,
As old user who has upgraded Fivewin Fewdays ago, I am trying to find BCC 7.3 ??? 7.4 to build 64Bit application.
But, it's very difficult to find this BCC by web surffing.
Instead, I found BCC102.zip from <!-- m --><a class="postlink" href="https://www.embarcadero.com/">https://www.embarcadero.c... |
Can I use BCC102 instead of BCC 7.4? | Please visit [url:hpu7ahbi]http://www.xharbour.org[/url:hpu7ahbi] in the Required tools section.
EMG |
Can I use BCC102 instead of BCC 7.4? | Hi friend
you can download those versions from Mel's web
<!-- w --><a class="postlink" href="http://www.whosaway.com">www.whosaway.com</a><!-- w -->
Regards
Jose
Enviado desde mi Lenovo TB-J606F mediante Tapatalk |
Can I use FW's Zip file function with xHarbour? | Dear Friends,
I use FW's Zip file functions in FW 16bits but It cannot compile with xHB? Have I still used FW's Zip file function or I must change to use xHB's Zip file function instead of FW?
Regards,
Dutch |
Can I use FW's Zip file function with xHarbour? | Dutch,
You have to use the free hbzip.lib library as FW 16 ZIP functions are not available for 32 bits (cause we used a external DLL that was not available in 32 bits). |
Can I use FW's Zip file function with xHarbour? | Thanks&Regards,
Dutch |
Can I use TITLEIMG and TITLETEXT with TTitle RC? *Done* | Dear All,
I try TTITLE in resource and it works fine. But I cannot use TITLETEXT and TITLEIMG with TTITLE in RESOURCE.
How can I use it?
Thanks in advance for any idea. |
Can I use TITLEIMG and TITLETEXT with TTitle RC? *Done* | TTitle():AddText(...)
TTitle():LoasBitmaps(...)
Thanks |
Can I use third party ActiveX control in my FWH application | Hello All,
Can I use third party ActiveX control in my FWH application ? If yes, how can I use it ?
Can somebody guide me ?
TIA |
Can I use third party ActiveX control in my FWH application | Hi
Yes, you can do it.
But more 3rd party ActiveX not support FWH's ActiveX components.
Borland C++ support a little ActiveX, you can use VC++ 2005.
I only test Show CAD work fine.
Regards,
Richard
Fivetech.net Taiwan |
Can I use third party ActiveX control in my FWH application | Milan,
You may review samples\webexp.prg, excel.prg, pdf.prg. |
Can I use third party ActiveX control in my FWH application | Hi Antonio,
I think he need to complete ActiveX compontnts not easy call Web,Excel,Word or PDF.
More ActiveX can replace ToolTip style or Dialog style or Like Office 2003 Menu style ....etc.
I hope we can use these ActiveX components.
Regards,
Richard |
Can I use third party ActiveX control in my FWH application | Hello,
Iam using FWH Nov-2005 build. WebExp.Prg works fine. But excel.Prg and PDf.Prg gives me GPF. I have both MS Office and Acrobat reader installed.
Can you guide me further ?
TIA
Milan. |
Can I use third party ActiveX control in my FWH application | Milan,
> excel.Prg and PDf.Prg
You may not have the same version as especified in those samples:
"OWC11.Spreadsheet" and "PDF.PdfCtrl.6"
You may use Microsoft free OleView to inspect what ActiveX controls you have in your computer and locate the right string to use:
<!-- m --><a class="postlink" href="http://hyperu... |
Can I use third party ActiveX control in my FWH application | Hello Antonio,
Can you please check that file ? It is 0 Kb and do not contain anything.
TIA
Milan. |
Can I use third party ActiveX control in my FWH application | Milan,
Please try this one:
<!-- m --><a class="postlink" href="http://hyperupload.com/download/b7308551/oleview.zip.html">http://hyperupload.com/download/b730855 ... w.zip.html</a><!-- m --> |
Can I write comm port without MsgInfo()? | Dear All,
I have to do the communication with serial port (RS232) but the examle TESTCOMM.PRG said
// Windows requires to have a Window at least to perform comunications !!
// Let's use the MessageBox() Window as default
It means MessageBox() will be showed everytime when I use WriteComm() function.
How can I don... |
Can I write comm port without MsgInfo()? | A quick fix is to use a hidden window, it doesn't have to be a dialog box. |
Can I write comm port without MsgInfo()? | Dear Mdandrea,
Thanks for your recommend. It works ok now.
Thanks,
Dutch |
Can I write comm port without MsgInfo()? | Glad to hear it worked for you Dutch. |
Can Properties (DATA) be added dynamically to an Object (CLA | Hi AllI can't see how to do it and I suspect it might well be impossible, particularly having looked at the code for TDatabase (which has a very clever, if not very pretty, workaround).But before I spend too much time on alternatives, I thought that it was worth asking the question.ThanksDoug(xProgrammer) |
Can Properties (DATA) be added dynamically to an Object (CLA | __ObjAddData(oyourbject,cnames)Shuming Wang |
Can Properties (DATA) be added dynamically to an Object (CLA | ThanksThat should make what I want to do so much easier and neater!RegardsDoug(xProgrammer) |
Can Properties (DATA) be added dynamically to an Object (CLA | Thanks ShumingWorks like a charm |
Can Properties (DATA) be added dynamically to an Object (CLA | Doug,Please notice that Class TDataBase does not add new DATAs. It uses the Class "error handler" OnError() method to route the desired msgs to access "virtual" DATAs. So the same Class can be used to manage multiple different DBFs without having to inherit a new Class for each DBF <!-- s:-) --><img src="{SMILIES_PATH}... |
Can Properties (DATA) be added dynamically to an Object (CLA | Hi AntonioI noticed that and now understand the reasoning behind it although I'm not convinced that it's strictly correct. If DATAs are added dynamically to an object (ie a class instance) they would presumably be independant of the class of that object - one class would still suffice wouldn't it?In my architecture a ... |
Can Properties (DATA) be added dynamically to an Object (CLA | Doug,If you add new DATAs, you add them to the Class not to the object,so all that Class instantiated objects are affected <!-- s:-( --><img src="{SMILIES_PATH}/icon_sad.gif" alt=":-(" title="Sad" /><!-- s:-( -->Thats why the Class error handler approach is better, as it does not modify the original class. |
Can Properties (DATA) be added dynamically to an Object (CLA | Hi AntonioThanks for the advice. The documentation I saw was a bit misleading in that it mostly talked about adding DATA to an object and the function is so named.Certainly that would be a problem in some architectures, but I don't see it as an issue in mine. If I am adding the DATAs to a PATIENT class (using a refer... |
Can Properties (DATA) be added dynamically to an Object (CLA | As you said Antonio, __ObjAddData() adds DATAs to the class and not just the particular object it is called against. For my purposes that isn't a problem though.It looks like I will end up with a RECORD class and a RECORD_LIST class.Initial version will subclass these. Subclass will basically have a controlling array... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.