topic stringlengths 1 63 | text stringlengths 1 577k ⌀ |
|---|---|
Can Properties (DATA) be added dynamically to an Object (CLA | Basic code is up and running. Doesn't yet cover all possibilities but I'm happy so far.Method AddDatas performs following functions:adds DATAs (not to it's class but to the class passed in)writes field positions into the aPROPERTIES array (so that only has to be done once)writes variable names into the aVALUES array (... |
Can TBtnbmp has TRANSPARENT? | Dear Antonio,
I try to use BITMAP and BTNBMP and both has an weak and good point ( I've only few knowledge ).
- BITMAP
- Nice but No Motion when Click
- BTNBMP
- Nice and Motion but cannot TRANSPARENT.
1.) Can I make Motion on BITMAP ON CLICK as iPhone. Change Bitmap back when click as iPhone
2.) Can I Transpar... |
Can TBtnbmp has TRANSPARENT? | Dutch,
Please email me the button image that it is inside the red circle and also the image that you want to show when it is clicked, thanks <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> |
Can TBtnbmp has TRANSPARENT? | Dutch,
Please try this example:
[code=fw:3m9hifb1]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"FWCE.ch"</span><br /><br /><span style="color: #00C800;">function</span> Main<span style="color: #000000;">(</span><span style="co... |
Can TCOMBOBOX with 2 dimension array? | As subject.
Thanks in advance. |
Can TCOMBOBOX with 2 dimension array? | Dutch
I do not think a two dimensional array is possible.. I have worked around this by concantonating two values together into a single text and loaded it to an array ..
[code=fw:1tz06x6s]<div class="fw" id="{CB}" style="font-family: monospace;"><br />aEmp := <span style="color: #000000;">{</span><span style="co... |
Can TCOMBOBOX with 2 dimension array? | I'm not sure exactly what you are needing this for, but with DBCombo you can list one value and return another. For instance you can list a description and return an ID number.
James |
Can TCOMBOBOX with 2 dimension array? | Dear Rick,
Thanks, it is a good idea for solve the problem.
Dear James,
Yes, exactly I need. Show 1 column (array) return another column as your said. How can I do that?
Thank you so much. |
Can TCOMBOBOX with 2 dimension array? | Dutch,
Below is an example. You will also need the fwh\samples\states.dbf data file.
James
[code=fw:3ny3c4ll]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #B900B9;">/*<br />Program : DBC1.PRG<br />Purpose : Test DBCombo<br />Notes :<br />*/</span><br /><br /><span style="color: #00D... |
Can TCOMBOBOX with 2 dimension array? | Dutch,
I just noticed you wanted to use a 2-dimensional array. You will need to copy the two columns to single dimensional arrays. Or, you could copy the entire 2-dimensional array into a temp dbf and specify the column names. See another recent thread here about temp DBFs that are all in memory.
James |
Can TCOMBOBOX with 2 dimension array? | Dear James,
Thank you, I got it now. |
Can TGraph do XY plots? | I am in need of creating a X,Y plot chart.
It seems that TGraph can only make time-series point and/or line charts, i.e. plot the value of Y and increment the X value by 1 unit for each data point of Y. Since there is no documentation for TGraph it is hard to tell if it is capable of X,Y charts.
Does anyone know? If... |
Can TGraph do XY plots? | James,
In tgraph.prg we find:
#Define GRAPH_TYPE_BAR 1
#Define GRAPH_TYPE_LINE 2
#Define GRAPH_TYPE_POINT 3
#Define GRAPH_TYPE_PIE 4
so it seems as a point type is supported.
In order to select a type we have to do:
oGraph:nType := GRAPH_TYPE_POINT
oGraph:Refresh()
I have not tested it yet |
Can TGraph do XY plots? | This is the right way to use it. Using samples\graph.prg example:
[code=fw:d07ude0j]<div class="fw" id="{CB}" style="font-family: monospace;"><br /> @ <span style="color: #000000;">1</span>, <span style="color: #000000;">1</span> GRAPH oGraph; <br /> <span style="color: #0000ff;">SIZE</span> <span style="... |
Can TGraph do XY plots? | Antonio,
Yes, I have done that for years. But that is a Time-Series chart. You cannot specify the X value, only the Y value. So, X is always 1,2,3,4...and they are at equally spaced intervals. These are basically bar charts, using points and lines instead of bars.
I need to be able to plot user specified x and y poin... |
Can TGraph do XY plots? | James,
I am afraid that you need to review Class TGraph Method Paint() and implement your own painting method for a new type.
I am not familiar with Class TGraph source code, so you may need to review it and modify it to your needs. |
Can TGraph do XY plots? | Antonio,
Yes, that was my plan and I have done it before. But, before I start, I just wanted to check to make sure that x,y plots were not possible, and/or to see if anyone had already made any such modifications.
I was just looking at the code, and I forgot about another issue. It seems that the user defined X-axis ... |
Can TGraph do XY plots? | Hi James,
I know it is an old post, but did you implement X,Y plots in TGraph?
Thank you
Alvaro |
Can TGraph do XY plots? | Alvaro,
Sorry, no I never did. Most of my graphs are time series and TGraph works great for that. I can't remember what I did for the x,y plots that I needed back then, but I can find no evidence that I ever tried it. The TGraph code is quit complex and I expect it will take quite some time to modify it.
Regards,
Jam... |
Can TGraph do XY plots? | [quote="James Bott":3eouymsl]Alvaro,
Sorry, no I never did. Most of my graphs are time series and TGraph works great for that. I can't remember what I did for the x,y plots that I needed back then, but I can find no evidence that I ever tried it. The TGraph code is quit complex and I expect it will take quite some tim... |
Can TGraph do XY plots? | Alvaro,
Wow, very impressive. May I get a copy of your new tgraph.prg?
You can find my email address on my website [url:3o82zgb4]http://gointellitech.com[/url:3o82zgb4]. |
Can TGraph do XY plots? | [quote="James Bott":uc9ajr2k]Alvaro,
Wow, very impressive. May I get a copy of your new tgraph.prg?
You can find my email address on my website [url:uc9ajr2k]http://gointellitech.com[/url:uc9ajr2k].[/quote:uc9ajr2k]
Sent, regards
Alvaro |
Can TGraph do XY plots? | Alvaro,
Would you mind to post it here or send it to me by email, so we can include it in next FWH 18.02 ?
many thanks |
Can TGraph do XY plots? | Alvaro,
It is not clear to me if you are automatically finding the min and max for each axis in the class, or if you must do the calculation outside the class and pass those values.
One of the first programs I wrote (way back in the BASIC era, circa 1980), I wrote code to find those values. I discovered that it was a... |
Can TGraph do XY plots? | [quote="James Bott":3ofa5cfm]Alvaro,
It is not clear to me if you are automatically finding the min and max for each axis in the class, or if you must do the calculation outside the class and pass those values.
One of the first programs I wrote (way back in the BASIC era, circa 1980), I wrote code to find those value... |
Can TGraph do XY plots? | I should clarify, in the beginning of this thread I was talking about making an x,y chart with just data points. This is also commonly called a scatter chart. For this type of chart the data points can be in any order. You can see a sample scatter chart here:
[url:2xrnf1kl]https://www.highcharts.com/docs/c... |
Can TGraph do XY plots? | [quote="James Bott":2k9cmpsi]I should clarify, in the beginning of this thread I was talking about making an x,y chart with just data points. This is also commonly called a scatter chart. For this type of chart the data points can be in any order. You can see a sample scatter chart here:
[url:2k9cmpsi]https://www&... |
Can TGraph do XY plots? | [quote="Antonio Linares":1x5e00ix]Alvaro,
Would you mind to post it here or send it to me by email, so we can include it in next FWH 18.02 ?
many thanks[/quote:1x5e00ix]
Hi Antonio, sorry I skipped your message yesterday. If the class is going to be included in the next release of FWH I will polish it a little and I... |
Can TGraph do XY plots? | Many thanks <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> |
Can TGraph do XY plots? | [quote="Antonio Linares":1rt50fs0]Many thanks <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->[/quote:1rt50fs0]
Antonio, I just sent you an email with the class
Regards |
Can TSButton use ::bDropOver? | I would like to use TSButton (Drag and Drop) between SBUTTON but bDropOver is not working. Can it works with Drag and Drop features? |
Can Windows Mobile UIs Look as Good as the iPhone | [quote:f2xonx8q]Microsoft tells developers: do not count on us - just imitate iPhone by hand !
May 16, 2009 [Pocket PC phone] | By Edward J. R.
Through the voice of their MVPs, Microsoft suggests that with some tricks, i.e. workarounds, developers can get looks like in the iPhone.
What is this? Why Microsoft simply ... |
Can Windows Mobile UIs Look as Good as the iPhone | I saw on sdk there is a sample for the phone.lib but I not Know How we can create it:
<!-- m --><a class="postlink" href="http://www.microsoft.com/downloads/details.aspx?FamilyID=9996b314-0364-4623-9ede-0b5fbb133652&displaylang=en&Hash=puAFYIedi3ftTAUAtvTJC7mLKar0FoUaLE%2bEhU1XibYfpL310m31Y07yRLYuuYoBibtPTVIKxX9b6ag0r... |
Can Windows Mobile UIs Look as Good as the iPhone | I inserted the wrong link. This is the right one:
<!-- m --><a class="postlink" href="http://www.msteched.com/online/view.aspx?tid=a6641301-add9-4a03-b767-53197c3baf74">http://www.msteched.com/online/view.asp ... 197c3baf74</a><!-- m -->
Regards,
Otto |
Can Windows Mobile UIs Look as Good as the iPhone | Otto,
Have a look a Microsoft next Windows Mobile version:
<!-- l --><a class="postlink-local" href="http://forums.fivetechsupport.com/viewtopic.php?f=19&t=14758">viewtopic.php?f=19&t=14758</a><!-- l --> |
Can Xbrowse show ALL used Mem variables ? | As a inspector, we can use : xbrowser(oWnd)
Can we also use it to show all memory variables that are in use ?
Now I put a msginfo(cData) to see what is de value if i'm not sure..
Maybe it can be done with the power of Xbrowse(r) |
Can Xbrowse show ALL used Mem variables ? | Please try this program
[code=fw:2dflv4ch]<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: #00C800;">function</span> main<span style="color: #000000;">(</span> cParam <span style="... |
Can Xbrowse show ALL used Mem variables ? | Is it possible to show the var names also ?
cData:= "Test"
Test is in the browse
Can the varname cData also be there ? |
Can Xbrowse show ALL used Mem variables ? | Marc,
[url:3ef7mo6y]https://harbour.github.io/doc/harbour.html#__mvdbginfo[/url:3ef7mo6y]
[code=fw:3ef7mo6y]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"hbmemvar.ch"</span><br /><br />MEMVAR cPublic<br />MEMVAR c... |
Can Xbrowse show Hex. Color codes | Hey,
Can Xbrowse show's a array/dbf with colorcodes in hex. Format like #4286f4
I need to show colors codes in Hex |
Can Xbrowse show Hex. Color codes | Colors with notation like "#rrggbb" can be converted to normal RGB values with this function:
[code=fw:jq89ls1t]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">function</span> X2RGB<span style="color: #000000;">(</span> cClr <span style="color: #000000;">)</span><br /><br... |
Can a FWH-32 Bit win program run on a Mac | Hello,
We have a Die-Hard fan for Mac in our soccer group. We use a FWH with Maria DB online program, but I think that will not run on Mac.
Are there Win emulators or so on Mac to get it going ? |
Can a FWH-32 Bit win program run on a Mac | In 2015 there was a solution, but anno 2018 there is a new way.
From Antonio
Puedes ejecutar tu aplicación FWH para Windows directamente en Mac usando:
<!-- m --><a class="postlink" href="http://winebottler.kronenberg.org/">http://winebottler.kronenberg.org/</a><!-- m -->
FiveMac te permite que sea una aplicación... |
Can a FWH-32 Bit win program run on a Mac | Marc,
Try WinBottler |
Can a FWH-32 Bit win program run on a Mac | Hi
You can install Vmware Fusion and run Windows on the Mac.
I've been using it for over 10 years and it's great. No problem at all. |
Can a FWH-32 Bit win program run on a Mac | I use Parallels on an iMac 27" and a MacBook Pro ( newest model ). I do all my programming on it now.
Parallels has a Cohesion mode so you do not have to see the Windows desktop. Just open the application and then Save on Dock. The icon to start the program will show like on the Windows task bar. Click it to run ... |
Can a FWH-32 Bit win program run on a Mac | I will try this approach.
Thanks all. |
Can a FWH-32 Bit win program run on a Mac | You can try a copy of Parallels at no cost. If your customer loves the Mac, they will love this option because it simply allows the program to run just like all their Mac programs, does not require a reboot into a different OS, and the support is excellent. |
Can a dialog be resized ? | I need to resize a dialog that is displaying an image. If the user selects to stretch the current image or display another one with different size, then the dialog changes it size to the new one. Can this be done ? Thank you. |
Can a dialog be resized ? | Gustavo,oDlg:SetSize( nNewWidth, nNewHeight )or simply:oDlg:nWidth := ...oDlg:nHeight := ...With oDlg:SetSize() you do it in one single step. |
Can a dialog be resized ? | Hello HunterEC, Your question is : the dialog resized to the Image-size.Shows this Screenshot, what you want to do ?The Preview of the real Alpha-Channel-BMP,is shown in a adjusted Dialog in relation to the Image-size.[img:cpf44mlu]http://www.pflegeplus.com/pictures/dialogadjust.jpg[/img:cpf44mlu][code:... |
Can a dialog be resized ? | Antonio, Ukoenig:Thank you very much for your help. Seems that both of your answers are what I'm looking for. I'll give it a try. |
Can a dialog be resized ? | Hello HunterEC,to define the dialog-size, You have to use the Image-sizewith a bit space around, like shown in the sample.The array < aRect > will give You the size you need :nWIDTH = aRect[4], nHEIGHT = aRect[3] // Image-Size in Dialog-resource// ---------------------------------------aRect := GETCLIENTRECT( oBitmap:h... |
Can a toolbar button be of different size? | I normally create a toolbar using the command DEFINE BUTTONBAR oBar OF oWnd SIZE 30,33
Is it possible to have one button that is actually longer than that?
TIA |
Can a toolbar button be of different size? | Any button created by "DEFINE BUTTON OF oBar" will be of the same size only.
But after defining all buttons, we can create any control on the bar in the space not occupied by the buttons. Same way we can create a button of different width by
[code=fw:uhdf5pgf]<div class="fw" id="{CB}" style="font-family: monospace;"><b... |
Can a toolbar button be of different size? | Thank you for the reply Rao.
I'll experiment with it a bit |
Can a toolbar button be of different size? | For some reason, I nothing happens when I click on the button.
But was able triggering it programmatically using oBtn:click(). Strange |
Can a toolbar button be of different size? | [quote="hua":2ayd9eb9]For some reason, I nothing happens when I click on the button.
But was able triggering it programmatically using oBtn:click(). Strange[/quote:2ayd9eb9]
Discoevered the reason. I can't place @ r, c BTNBMP oBtn PROMPT "prompt" OF oBar SIZE w,h PIXEL at oDlg:bInit |
Can a toolbar button be of different size? | [quote="hua":33i4sip6]For some reason, I nothing happens when I click on the button.
But was able triggering it programmatically using oBtn:click(). Strange[/quote:33i4sip6]
Discovered the reason. I can't place @ r, c BTNBMP oBtn PROMPT "prompt" OF oBar SIZE w,h PIXEL at oDlg:bInit |
Can anyone read this file in FiveWin | Hi Everybody,
I am told the following file is a "digitized binary image".
Can someone let me know if there is any way to read it with Fivewin.
[url]
<!-- m --><a class="postlink" href="http://hyperupload.com/download/02efc19d51/00000001.ECG.html">http://hyperupload.com/download/02efc19 ... 1.ECG.html</a><!-- m --> ... |
Can anyone read this file in FiveWin | Jeff,
You might look at <!-- w --><a class="postlink" href="http://www.leadtools.com">www.leadtools.com</a><!-- w -->. They have a medical imaging api and C++ class libraries. I don't know if they support your format.
James |
Can anyone read this file in FiveWin | Thanks James ... I sent them an e-mail.
I hope they can help.
Jeff |
Can anyone read this file in FiveWin | Hi Jeff,
ECG is a Electro Cardio Graph. You must review the next articles in Code Project:
<!-- m --><a class="postlink" href="http://www.codeproject.com/tools/ecg_dsp.asp">http://www.codeproject.com/tools/ecg_dsp.asp</a><!-- m -->
<!-- m --><a class="postlink" href="http://www.codeproject.com/tools/ECG_1_to_TXT.asp"... |
Can anyone read this file in FiveWin | you cam modify tgraph class
there is an sample Timer test as your egc graph
[code:1r6fsed1]// Program : Timer test (Compilar con B.Bat : B TstTimer)
// Author : Arteaga
#Include "Fivewin.Ch"
#Define GRAPH_TYPE_BAR 1
#Define GRAPH_TYPE_LINE 2
Static oWnd, oGraph, oTimer, aVals, nP
FUN... |
Can change FONT in Tooltip ? | Dear all,
I'm use FiveWin 2.1c, It's possible to change FONT in tooltip of TSButton ?
Best Regrad,
Peter |
Can change FONT in Tooltip ? | Peter,
in fw\source\classes\window.prg search for "DEFINE WINDOW oToolTip...", some lines below you find "DEFINE FONT oFont NAME GetSysFont() SIZE 0, -8".
Change that font definition and use that window.prg recompiled. |
Can change FONT in Tooltip ? | [quote="Antonio Linares":bozmvfw6]Peter,
in fw\source\classes\window.prg search for "DEFINE WINDOW oToolTip...", some lines below you find "DEFINE FONT oFont NAME GetSysFont() SIZE 0, -8".
Change that font definition and use that window.prg recompiled.[/quote:bozmvfw6]
So, Can I get more detail of recompiled window... |
Can change FONT in Tooltip ? | Hello Peter,
You modify Window.prg and just recompile it within your link script file.
That's all.
Regards,
Richard |
Can change FONT in Tooltip ? | Deai Taiwan,
Thank you for your suggestion, I'm got it.
Best ReGrad <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D --> |
Can change the caption of TButton ""on the fly""? | Can the caption of a Button be changed at runtime?. This example just does not do anything:
[code:1egkle3l]
#include "Ficewin.ch"
Function Main()
Define Window ownd from 0,0 to 200,200 pixel
@ 10,10 Button oBtn Prompt "Hello" size 60,20 pixel of ownd action Change(oBtn)
Activate window oWnd
Return ... |
Can change the caption of TButton ""on the fly""? | [code:jup0muoo]#include "Fivewin.ch"
FUNCTION MAIN()
LOCAL oDlg
LOCAL oBtn
DEFINE DIALOG oDlg
@ 3, 1 BUTTON oBtn;
PROMPT "&Original";
ACTION oBtn:SetText( "Changed" )
ACTIVATE DIALOG oDlg;
CENTER
RETURN NIL[/code:jup0muoo]
EMG |
Can change the caption of TButton ""on the fly""? | Enrico:
Thank you once more!!!
Rafael |
Can not Print in Vista SP1. | [quote="Manuel Valdenebro":1u0cjiwx]
I have now, in Vista, second time that I try to print, the message "There are not printer inst..."
[/quote:1u0cjiwx]
Manuel,
as I said, vista does not allow to initialize the printer twice, if this error only occures on the second try to print the first printer object doesn´t seem... |
Can not Print in Vista SP1. | Hello,In Windows Vista with Service Pack 1, I always get this message:[img:3tswl1ic]http://www.winfakt.be/downloads/pr_error.gif[/img:3tswl1ic]Looking in printer.prg, I see it's because of this code:[code:3tswl1ic]
elseif ComDlgXErr() != 0
MsgStop( "There are no printers installed!" +... |
Can not Print in Vista SP1. | Hi Patrick,is your printer a local or a network printer ?Windows Vista is not very fast to active the network connections at startup so you have to give the time to make this before start your app if only network printers are availables on your workstation. |
Can not Print in Vista SP1. | [quote="Marco Turco":x7zepij3]is your printer a local or a network printer ?[/quote:x7zepij3]Local printer.Patrick |
Can not Print in Vista SP1. | [quote="Patrick Mast":3l5o7qhg][quote="Marco Turco":3l5o7qhg]is your printer a local or a network printer ?[/quote:3l5o7qhg]
Local printer.
Patrick[/quote:3l5o7qhg]Hi, Patrick, I had this problem specially after updating to SP2. At the first time, it prints ok, but on the second time, it gives me this error. If you ... |
Can not Print in Vista SP1. | [quote:11yy9keo]I had this problem specially after updating to SP2. At the first time, it prints ok, but on the second time, it gives me this error. If you come back to SP1 there is no problem. So, it seems to be a Vista problem (and a serious problem!). Because of this I had to come back to XP.[/quote:11yy9keo]But we ... |
Can not Print in Vista SP1. | Patrick,I have been through this one last weekThe problem comes from identifying the printerif you are printing to a specifief printer and just passing the printer's name before (as i was doing), you will get the message.You have to pass now the port also, and it will work ok.It works also as backward's compatibility (... |
Can not Print in Vista SP1. | Hi,This error occurs, for example, when printing from PREVIEW?.Best regards, |
Can not Print in Vista SP1. | This error occurs on vista sp1 when you print [u:bgwe60a3][b:bgwe60a3]without prompting the user [/b:bgwe60a3][/u:bgwe60a3]for the printer, to an identified printer by it's nameit occurs before previewRichard |
Can not Print in Vista SP1. | [quote="Richard Chidiak":330ccxlg]I have been through this one last week
The problem comes from identifying the printer
if you are printing to a specifief printer and just passing the printer's name before (as i was doing), you will get the message.
You have to pass now the port also, and it will work ok.[/quote:330ccx... |
Can not Print in Vista SP1. | Patrick,Yes , this is the way to go if you print without prompting the user to select a printer, if you prompt for printer selection, the old syntax works okgotta love vista !Richard |
Can not Print in Vista SP1. | [quote="Richard Chidiak":2lufzb5x]Yes , this is the way to go if you print without prompting the user to select a printer, if you prompt for printer selection, the old syntax works ok
gotta love vista ![/quote:2lufzb5x]Thank you Richard!Patrick |
Can not Print in Vista SP1. | [quote="StefanHaupt":1trftdti]
Vista does not allow, to initialize the same printer twice, then the error occurs.[/quote:1trftdti]
Stefan,
But if I use standard rpreview it is correct.
Regards |
Can not Print in Vista SP1. | [quote="Richard Chidiak":2atolie8]
You have to pass now the port also, and it will work ok.
Below is my printer selection function
FUNCTION GETIMPRI(ADEVICES)
*----------------------------------------
LOCAl cAllEntries, cEntry, I, cName, cPrn, cPort, J
cAllEntries := STRTRAN( GetProfString( "Devices" ), Chr( 0 ), CRL... |
Can not Print in Vista SP1. | Manuel,
I had a similar situation printing in Vista, did you read my post in this topic ?
[url:2yybjyxb]http://forums.fivetechsupport.com/viewtopic.php?f=3&t=15485[/url:2yybjyxb]
Vista does not allow, to initialize the same printer twice, then the error occurs. |
Can not create dialog 7.11 | Hello,
Last week we have made a upgrade to fwh7.11
From that moment we have many error's , 'can not create dialog', at random . Today , with 5 customers , +/- 10
This error occurs only after some time ( 30 min) , so i suppose it has something to do with memory management.
How can i test memory and controle were it ... |
Can not create dialog 7.11 | Do you have this fix?
This is a necesary fix for FWH 7.11 in Class TMsgBar:
Code:
METHOD SetMsg( cText ) CLASS TMsgBar
DEFAULT ::cMsg := ""
if ::l2007
::cMsg = cText
::Refresh()
return nil
endif
::GetDC() // must be placed here!!!
...
_________________
re... |
Can not create dialog 7.11 | Otto ,
Yes , it is applyed. It seems to be very bad , since the previous thread , 3 other errors are reported , all 'cannot create dialog' , at random.
Most off them occurs after +/- 1 hour
Frank |
Can not create dialog 7.11 | Hello Frank,
I don’t have FWH versions at my clients. In-house we use the program 7*24 hours with no problem on Vista PC's.
I use Harbour what do you use?
Sure you are a harbor expert but I mention what problems I faced:
I had fieldnames and function names in clipper where sometimes from the 10 position on the names... |
Can not create dialog 7.11 | Otto,
From the moment we changed to fwh7.11 , we have at least 10 errors a day , all 'cannot create dialog' , at random
2 hours ago i went back to 7.7 , from then no errors.
So i am convinced it is a memory problem from 7.11
Antonio ???
Frank |
Can not create dialog 7.11 | Do you use harbour or xHarbour?
Regards,
Otto |
Can not create dialog 7.11 | Frank,
We haven't modified anything in 7.11 that could cause those "can't create dialog" errors.
It has to be something else that you have recently changed in your application, or something related to Harbour/xharbour
Do you use Borland controls in your dialog boxes ? |
Can not create dialog 7.11 | What controls do you use in those dialogboxes ? |
Can not create dialog 7.11 | HI, i use fwh 7.10 and 7.11, with fix, in 7*24, 15 workstations, 1000000 records without problems.
xharbour cvs 1.00 30/10/2007 (compile myself)
fwh 7.11 (compile myself)
bcc 551 sp2
ads server (local to tests)
windows server network with nt4 workstation and xp workstations
are you using borland controls?? |
Can not create dialog 7.11 | Antonio,
I am working in a MDI environnement with dialog's.
Each dialog is executed from xbrowse. The dialog's have in some cases a tsbrowse or xbrowse object , together with the common control's from fw (no borland controls).
I am using xhb 1.01
How can i follow the memory ammount during execution ?
Can i place so... |
Can not create dialog 7.11 | Frank,
> I am using xhb 1.01
Do you mean xHarbour commercial ?
> How can i follow the memory ammount during execution ?
The cannot create dialog box is a not a memory related issue. Anyhow you can open Windows's tasks manager and locate your application and check what memory amount is using |
Can not create dialog 7.11 | Antonio,
Comercial version
Compiling with fwh7.11 , i can reproduce the error :
xbrowse is used to select a record (dialog)
Opening the dialog , closing it and repeat this ( +/- 20 or more , unpredictable) , result in a error
Error description: Error FiveWin/3 Cannot create Dialog Box:
... |
Can not create dialog 7.11 | Frank,
Thats a very little memory increase. Its not a problem, as Harbour calls the garbage collector from time to time
Are you using Borland controls in that dialogbox ? How do you End() the dialog ? Please show us a portion of the source code, thanks |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.