topic stringlengths 1 63 | text stringlengths 1 577k ⌀ |
|---|---|
Another Question about FWH and Word | Dear Michel,
According to google Bard it can be done this way:
[code=fw:3961x1c1]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00D7D7;">#include</span> <windows.h><br /><br />int main<span style="color: #000000;">(</span><span style="color: #000000;">)</span> <span style="color... |
Another Question about FWH and Word | Antonio,
Unfortunately, I wasn't able to use your suggestion because I got a lot of errors.
But maybe I can solve it is you can help me to transate this VBA-sentence into FWH :[code=fw:2yug2lcp]<div class="fw" id="{CB}" style="font-family: monospace;">AddIns<span style="color: #000000;">(</span><span style="color... |
Another Question about FWH and Word | Dear Michel,
chatgpt proposes this code, not sure if it will work as expected. You can easily port it to FWH
[code=fw:1hc9zhrq]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00D7D7;">#include</span> <stdio.h><br /><span style="color: #00D7D7;">#include</span> <windows.h><br /><br />int ... |
Another Question about FWH and Word | Atonio,
Thank you for your efforts.
Unfortunately, this isn't working. |
Another bug in 9.04's xbrowse | Dragging the horizontal thumb to the very right or left will cause a msgalert("1") to appear.
[img:3gc7emcj]http://img518.imageshack.us/img518/1183/xbrowse.jpg[/img:3gc7emcj] |
Another bug in 9.04's xbrowse | Tested using \fwh\samples\testxbr3.prg with FWH 9.04 15th Apr. Still happens.
Maybe this short video capture can show it better, <!-- m --><a class="postlink" href="http://screencast.com/t/O7Rq5WHP">http://screencast.com/t/O7Rq5WHP</a><!-- m --> |
Another bug in 9.04's xbrowse | Yes. This alert pops up even when we click on the horizontal thumbpos. There is no problem with vertical scroll bar |
Another bug in 9.04's xbrowse | This problem started with version 9.03. version 9.02 works fine. |
Another bug in 9.04's xbrowse | Here is the bug
Please see line 2119 of XBrowse.Prg ( Method SelectCol( ... ) )
[code=fw:2i8rss4v]<div class="fw" id="{CB}" style="font-family: monospace;">? ::<span style="color: #000000;">nColSel</span> := <span style="color: #0000ff;">Min</span><span style="color: #000000;">(</span> ::<span style="color: #0000... |
Another bug in 9.04's xbrowse | Yes! Thanks NageswaraRao!
Actually, what's the correct short-form for your name <!-- s:) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":)" title="Smile" /><!-- s:) --> ? Is it Nages? |
Another bug in 9.04's xbrowse | Rao,
Fixed, thanks <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
We have just published a new FWH 9.04 build. |
Another bug in 9.04's xbrowse | Mr Hua
>
what's the correct short-form for your name ? Is it Nages?
>
You may address me as Rao, or Nageswar. |
Another bug in 9.04's xbrowse | [quote="nageswaragunupudi":2j46ocj1]Mr Hua
You may address me as Rao, or Nageswar.[/quote:2j46ocj1]
Ok Mr Rao <!-- s:) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":)" title="Smile" /><!-- s:) --> Thanks again. |
Another bug in TWBrowse scrollbar | [code:or4jtkan]#include "Fivewin.ch"
FUNCTION MAIN()
LOCAL oDlg, oBrw
USE TEST
DEFINE DIALOG oDlg
@ 0, 0 LISTBOX oBrw FIELDS
ACTIVATE DIALOG oDlg;
ON INIT oDlg:SetControl( oBrw );
CENTER
CLOSE
RETURN NIL[/code:or4jtkan]
Try to press... |
Another bug in TWBrowse scrollbar | [code:7yhll7jz]METHOD PageUp( nLines ) CLASS TWBrowse
local nSkipped
DEFAULT nLines := ::nRowCount()
nSkipped = ::Skip( -nLines )
if ( ::nLen := Eval( ::bLogicLen, Self ) ) < 1
return nil
endif
if ! ::lH... |
Another bug in TWBrowse scrollbar | Enrico,
> Try to press PAGEDOWN and then PAGEUP: the scrollbar should go back to the top but it doesn't.
In Vista is working fine without modifying the method. Going to try it in XP (edited: same behavior in XP).
How many records Test.dbf has ? (Here just 2). |
Another bug in TWBrowse scrollbar | No, you will see the problem only when you have a certain amount of record. I tried with xHarbour sample TEST.DBF that has 500 record.
EMG |
Another bug in TWBrowse scrollbar | Enrico,
This seems the right fix. Its just needed to change the order of the call to ::VSetPos()
[code:3memk2jx]
...
else
if ::oVScroll != nil
::VSetPos( ::VGetPos() + nSkipped )
endif
nSkipped = ::... |
Another bug in TWBrowse scrollbar | I confirm the fix, thank you!
EMG |
Another bug in menu | I'm preparing a sample. Please delay the release of the new FWH build...
EMG |
Another bug in menu | Here it is:
[code=fw:4yqyd83m]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"Fivewin.ch"</span><br /><br /><br /><span style="color: #00C800;">FUNCTION</span> MAIN<span style="color: #000000;">(</span><span style="color: #00000... |
Another bug in menu | The bugs:
1. the area to the right of the menu is not properly painted
2. Pressing ALT-2 you will get 1 instead of 2
3. Pressing ALT-1 and then ESC and ESC again the menu icon to the left vanishes
EMG |
Another bug in menu | Enrico, I'm watching your example
This bug also it appears with previous versions FWH 15.04
I tried it with version 13.12
You can check this?
Except that is to correctly paint the menubar
Anyway, obviously I will look how to fix it
Regards |
Another bug in menu | [quote="cnavarro":14p7k71r]Enrico, I'm watching your example
This bug also it appears with previous versions FWH 15.04
I tried it with version 13.12
You can check this?
Except that is to correctly paint the menubar
Anyway, obviously I will look how to fix it
Regards[/quote:14p7k71r]
Yes, bugs 2 and 3 are very old on... |
Another bug in menu | Enrico, thanks for you feedback |
Another bug in menu | Enrico, bug 1 fixed
Menubar is painted correctly
[url=http://postimage.org/:2eb5gcop][img:2eb5gcop]http://s21.postimg.org/j3vqmi1h3/Title247.png[/img:2eb5gcop][/url:2eb5gcop] |
Another bug in menu | Cristobal,
great! <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
EMG |
Another bug in menu | [quote="Enrico Maria Giordano":vc9kn96y]Cristobal,
great! <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
EMG[/quote:vc9kn96y]
Enrico
I'm working in it
In the next version it is already included some improved in [b:vc9kn96y]old BUGs[/b:vc9kn96y] ( before FWH 14.12 ) in... |
Another bug in menu | Thank you, Cristobal!
EMG |
Another for Lan Network | I 'm trying to run a small test into Lan Network
Now it seem run, I can open and save customer.dbf
[img:1oze71j6]https://i.postimg.cc/1z6nQ4Y2/n.png[/img:1oze71j6]
I made
[b:1oze71j6]USE &(oApp():cDbfPath+cDbf+".dbf") ;
INDEX &(oApp():cDbfPath+cDbf+".cdx") ;
ALIAS &(cAlias)... |
Another for Lan Network | There are two methods of file locking, optimistic and pessimistic.
With optimistic, the user loads and edits the file, then when they are done, the record is locked, saved, and unlocked.
With pessimistic, the record is locked, the user edits it, then it is saved and unlocked.
I have always used optimistic locking an... |
Another for Lan Network | James,
for this topic I not use tdata but only new share |
Another for Lan Network | Hello Silvio
If you want the behavior you descript you must lock the record when the user starts editing the record.
You lock immediately before saving the changes. So another user can delete the record in the mean time.
Then you can be sure that no one can change or delete this record.
Best regards
Otto |
Another for Lan Network | Silvio,
I can't think of a good reason to ever delete a customer. Perhaps move them to an "archive" database after a certain period of inactivity, but I wouldn't delete them.
If you allowed a customer to be deleted then you would also have to delete all related records such as orders, invoices, etc. You can see that ... |
Another for MDB recorset | I must create two index ord on a table of a Mdb
Mdb : ecom
Table : Utenti
first = Id
second = cognome
How I must make it ? |
Another for MDB recorset | When we deal with RDMS, it is not necessary to create any index to read the table in a particular order. Careful choice of indexes on very large table improves the performance of queries.
If you want to read the columns in the order of Id the query should be "SELECT ID, COGNOME FROM UTENTI ORDER BY ID" or if you w... |
Another for MDB recorset | i WANTED TO CREATE A TAB WITH TWO FOLDER
ON THE FIRST i MUST INSERT "id" AND ON THE SECOND "cOGNOME"
WHEN i CLICK ON FIRST TAB THE XBROWSE MUST CHANGE VISUALIZATION
@ oApp():oDlg:nGridBottom, nSplit+2 TABS oApp():oTab ;
OPTION nOrder SIZE oApp():oWndMain:nWidth()-50, 12 PIXEL OF oApp():oDlg ;
ITEMS ' Firs... |
Another for MDB recorset | For RecordSets:
oRs:Sort := "ID"
is equilvalent to ALIAS->(ORDSETFOCUS("ID"))
You can change sort orders viewed by simply assigning the values to oRs:Sort
Examples:
oRs:Sort := "COLNAME"
oBrw:Refresh() |
Another for MDB recorset | ok but Ihave an variable
nOrder := 1
and then on tab I insert
ACTION ( [b:3uxd3vmf]nOrder[/b:3uxd3vmf] := oApp():oTab:nOption ,;
oRs:Sort := ([b:3uxd3vmf]nOrder[/b:3uxd3vmf]),;
oRs:MoveFirst())
it make error !!
[code:3uxd3vmf]
Path and name: C:\work\prg\Mwopen_W\source... |
Another for MDB recorset | You should assign column name or names delimited by commas. Not Numeric Values.
CORRECT :
oRs:Sort := 'ID'
oRs:Sort := 'COGNOME'
WRONG:
oRs:Sort := 1 or 2
Try something like this:
[code:2jgx799z]
ACTION ( nOrder := oApp():oTab:nOption , oRs:Sort := oRs:Fields(nOrder-1... |
Another for MDB recorset | Now I made
@ oApp():oDlg:nGridBottom, nSplit+2 TABS oApp():oTab ;
OPTION nOrder SIZE oApp():oWndMain:nWidth()-50, 12 PIXEL OF oApp():oDlg ;
ITEMS ' First ', ' Last ' ;
ACTION ( nOrder := oApp():oTab:nOption ,;
[b:2so0w4q1]oRs:Sort := oRs:Fields(nOrder-1):Name[/b:2so0w4q1],;
... |
Another for MDB recorset | > 'm afraid thart oRs:Sort take only filed name and not field number
Yes. It takes only field name. but not field number.
make sure you assign the right field names to oRs:Sort |
Another for MDB recorset | I made this but not run
oRs:Sort :=iff( norder=1, oRs:Fields( "ID" ):Name,oRs:Fields( "Cognome" ):Name); |
Another for MDB recorset | and
@ oApp():oDlg:nGridBottom, nSplit+2 TABS oApp():oTab ;
OPTION nOrder SIZE oApp():oWndMain:nWidth()-50, 12 PIXEL OF oApp():oDlg ;
ITEMS ' First ', ' Last ' ;
ACTION ( nOrder := oApp():oTab:nOption ,;
if( norder=1, oRs:Sort( "ID" ),oRs:Sort( "Cognome" )),;
oRs:MoveFir... |
Another for MDB recorset | I try also this but not run
@ oApp():oDlg:nGridBottom, nSplit+2 TABS oApp():oTab ;
OPTION nOrder SIZE oApp():oWndMain:nWidth()-50, 12 PIXEL OF oApp():oDlg ;
ITEMS ' First ', ' Last ' ;
ACTION ( nOrder := oApp():oTab:nOption ,;
if( norder=1, oRs:Sort := 'ID' ,oRs:Sort := 'COGNOME' ),;
... |
Another for MDB recorset | Please send to my personal email, zip of your mdb, if it is not confidential. I send back a simple working code, which you can incorporate. |
Another for MDB recorset | > if( norder=1, oRs:Sort := 'ID' ,oRs:Sort := 'COGNOME' ),;
This should run ok. |
Another for MDB recorset | question ... on a related note .. consider this query :
Select lname,fname from Customer order by lname
...
...
lets say I want to re-order my existing recordset created by the above query .. are you saying I can oRs:Sort := 'fname' to reorder ?? or do I need to re-create the query with order by fname ?
Rick Lipkin |
Another for MDB recorset | Mr Rick Liptin
>
ets say I want to re-order my existing recordset created by the above query .. are you saying I can oRs:Sort := 'fname' to reorder ??
>
Yes.
>
or do I need to re-create the query with order by fname ?
>
No need at all.
If we do, that will increase response time and unnecessary burden on the serv... |
Another for MDB recorset | Outstanding .. I did not know you can re-sort a recordset .. many times I have a 'find' routine that I need to re-order the same information .. to do this I have used my origional order by query ( lname ) and if I needed to find a group of records matching a like % on fname ...I used the oRs:Filter .. but the filter i... |
Another for MDB recorset | Mr Rick Liptin
Still Find is very powerful. It is like our classical locate and locate next in xBase. But we can as well use it in the place of Seek.
> but the filter is a bit clumsy and you have to release the filter
Yet, it is powerful. We can even set filter to an array of book marks. At times very handy and us... |
Another for MDB recorset | NageswaraRao,
Can you sort recordsets on more complex information like concantated multiple fields? How about descending?
James |
Another for MDB recorset | Mr James
Yes
oRs:Sort := "FIRST , CITY DESC"
ASC is assumed if not specified.
also we can sort on multiple fields of char, number, dates etc. |
Another for MDB recorset | I'm afrad that Sort() method works only with MDB. As an example, it doesn't work with MSDE.
EMG |
Another for MDB recorset | Sort works with MDB, Oracle, MSSQL Server.
Actually it is an internal feature of ADO and has nothing to do with the data provider, because the ADO engine sorts the recordset within memory totally on the client. The server does not come into picture at all. It even works with synthetic recordsets totally built on the ... |
Another for MDB recorset | Mr Enrico
[quote="Enrico Maria Giordano":3ojfphdw]I'm afrad that Sort() method works only with MDB. As an example, it doesn't work with MSDE.
EMG[/quote:3ojfphdw]
I have not worked with MSDE. May I know how is your experience with the product? Do you think we can do development work with this before we test on real ... |
Another for MDB recorset | [quote="nageswaragunupudi":2tuvhja2]I have not worked with MSDE. May I know how is your experience with the product? Do you think we can do development work with this before we test on real servers ?
Thanks in advance.[/quote:2tuvhja2]
I have MSDE installed and Sort() method doesn't seem to work. So I think it doesn... |
Another for MDB recorset | This is the sample I tried:
[code:1eazt2yk]#define adOpenForwardOnly 0
#define adOpenKeyset 1
#define adOpenDynamic 2
#define adOpenStatic 3
#define adLockReadOnly 1
#define adLockPessimistic 2
#define adLockOptimistic 3
#define adLockBatchOptimistic 4
FUNCTION MAIN()
LOCA... |
Another for MDB recorset | Found! I have to use
[code:1kwob13q]oRs:CursorLocation = adUseClient[/code:1kwob13q]
It is perfectly logical. But still I don't know if it is a good idea to use a technique that forces client cursor usage.
EMG |
Another for MDB recorset | Mr Enrico
You found the reason. Most of the data and methods do not work on serverside cursors and some work only for serverside cursors but not for clientside.
I have a few advices to make in general, based on theory, widely accepted good practices, confirmed by our own experiences.
It is desirable and the normal p... |
Another for MDB recorset | EMG or nageswaragunupudi
I must implement an TAB
I want inser this tab to the bottom of a xbrowse
when I clicl on a folder the Xbrowse must order the record to one order
@ oApp():oDlg:nGridBottom, nSplit+2 TABS oApp():oTab ;
OPTION nOrder SIZE oApp():oWndMain:nWidth()-50, 12 PIXEL OF oApp():oDlg ;
ITEMS ' First '... |
Another for MDB recorset | I think we discussed this earlier. Depending on nOption, set oRs:Sort := <columnname>, oBrw:Refresh().
Make sure you opened the recordset with adUseClient option. The above code will work |
Another for MDB recorset | [quote="nageswaragunupudi":zh7f4662]I have seen in our forums that every record set is opened with connection information.[/quote:zh7f4662]
They are only minimal samples. Nothing more.
[quote="nageswaragunupudi":zh7f4662]Recommendations: [...][/quote:zh7f4662]
That's why I don't like client/server at all. Too much c... |
Another for MDB recorset | nageswaragunupudi,
Thanks for the client-side/server-side cursor explanations.
> Open one connection at the beginning and store it in a global variable ( better as a return value of a function ).
This sounds like good use for a connection object. You could put a connection object inside a SET/GET function. Then you... |
Another for MDB recorset | Dear nageswaragunupudi
I made a s you sad but it make erro on Sort command
I try with :
ors:sort:="First"
or
ors:sort:field("first"):value
or
ors:sort:field("first")::name
I must create a small sample to see it ... |
Another for MDB recorset | Mr James
Yes thats is what I suggest.
You and me being OOPS fans, we better have a Class for Connection. Make a base class for Ado Connection and then we have derived classes for oracle, mssql, etc. with their specific features,
In fact thats what I do. Like you I have one public function which returns the connect... |
Another for MDB recorset | Mr Silvio
Please make a very short program.
Open recordset.
Then write this line oRs:Sort := <first column name>
Post the code here. |
Another for MDB recorset | try it
[code:4wkyq5oc]
#include "FiveWin.ch"
#include "Splitter.ch"
STATIC oDb, oRs
FUNCTION Customer()
LOCAL aBrowse
LOCAL nSplit :=102
LOCAL nOrder :=1
LOCAL nRecno :=1
LOCAL oDlg,oFont,oTab
oRs = CREATEOBJECT( "ADODB.Recordset" )
TRY
oRs:Open( ... |
Another for MDB recorset | Please insert this line
oRs:CursorLocation := 3
just after creating the recordset object
[code:3kp2lrdl]
oRs = CREATEOBJECT( "ADODB.Recordset" )
oRs:CursorLocation := 3 // insert this line here
TRY
[/code:3kp2lrdl]
Now please try |
Another for MDB recorset | thanks now run ok |
Another for MDB recorset | THE PROBLEM IS ANOTHER :
NOW i MUST SORT ON TWO FIELD :
if( norder=1, oRs:Sort := 'ID' ,oRs:Sort := 'COGNOME' ),;
BUT IF i MUST SORT ON MANY FIELDS HOW i CAN MAKE ?
i NEED CREATE SOMETHING OF
@ oBrw:nBottom+1,20 TABS oTab ;
OPTION nOrder SIZE oDlg:nWidth()-50, 12 PIXEL OF oDlg ;
ITEMS ' CODICE ', ... |
Another for MDB recorset | oRs:Sort := "ID,COGNOME" |
Another for MDB recorset | ok but I have a variable norder
and this variable I must use with Tab noption
the sort read only the field name oRs:sort:="Id,cognome,nome"
but there is not a command to sort on number of field ?
sample
oRs:sort=norder
I cannot use the fieldname because i must rewrite each program |
Another for MDB recorset | >
but there is not a command to sort on number of field ?
>
NO
>
oRs:sort=norder
>
Instead, you create an array of sort orders. example:
aOrders := { "ID", "ONE,TWO", "ID,NAME DESC", .... }
then depending on the option, say oRs:Sort := aOrders[oTabs:nOption] |
Another for MDB recorset | ok this is a good idea i try to improved it |
Another for MDB recorset | ok this run ok
[code:218uxccn]
#include "FiveWin.ch"
#include "Splitter.ch"
STATIC oDb, oRs
FUNCTION Customer()
LOCAL aBrowse
LOCAL nSplit :=102
LOCAL nOrder :=1
LOCAL nRecno :=1
LOCAL oDlg,oFont,oTab
Local aOrders := { "ID", "NOME", "COGNOME", "CITTA" }
oRs =... |
Another for Sockserv and sockcli | I understood that there is an sample called sockserv.prg
One time I run the exe it listen if there are oclients on lan ( sockcli.prg)
I understood I must make an array to save all client is connected to server ( I must save the nsocket, the name and the ip of client)
The server before must connect to one ocli... |
Another for date Range | Dear Friend,
Look this please
[img:s8i756zd]http://img823.imageshack.us/img823/7321/errport1.jpg[/img:s8i756zd]
the procedure does not show exactly the right reservation
on My archive I have the room n. 7 has a different date range
[img:s8i756zd]http://img822.imageshack.us/img822/79... |
Another for fwstring | I saw the fwstring not show the character & for the button .... why ?
[img:37m23l36]http://img820.imageshack.us/img820/7527/4v6g.jpg[/img:37m23l36] |
Another free 32 Bit Resource-Editor ( maybe useful ? ) | Hello,
I had a look at a 32 Bit-Resource-editor I found.
For the Moment, I don`t have the Time, to test it ( to big )
Some Futures are included, I didn't see before ( visual design ).
Maybe useful for FWH-users ( it seems, Assembler-Source and Resources are included ) ?
No problem, to import BCC-Rc-files.
[color=#FF0... |
Another free 32 Bit Resource-Editor ( maybe useful ? ) | Uwe,
Very good, thanks! <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
Already available from FiveWin Contributions site:
[url:4jzh2qva]http://code.google.com/p/fivewin-contributions/downloads/list[/url:4jzh2qva]
[url:4jzh2qva]http://code.google.c... |
Another historic moment in Harbour ... | Hi !,
Today connected the group of mod Harbour and commmanded by Mr. Antonio we have entered the dimension of being able to debug at the harbour code level with Visual Code.
Simply spectacular !
C. |
Another historic moment in Harbour ... | 1. Download and install Visual Studio Community from here:
[url:266s5z2o]https://visualstudio.microsoft.com/vs/community/[/url:266s5z2o]
2. git clone <!-- m --><a class="postlink" href="https://github.com/FiveTechSoft/harbour_app_msvc64_sources">https://github.com/FiveTechSoft/harbour ... 64_sources</a><!-... |
Another historic moment in Harbour ... | [url:123vs0mz]https://youtu.be/VYA7B1otyVo[/url:123vs0mz] |
Another more about RPreview and Image2PDF | Hello friends of the forum.
I've been testing the evaluation Image2PDF DLL, I made use of "RPrevUserBtns" from the main program for which I work on all reports and works well:
[code=fw:rpz5k7hs]<div class="fw" id="{CB}" style="font-family: monospace;">RPrevUserBtns<span style="color: #000000;">(</span> <span styl... |
Another more about RPreview and Image2PDF | Hello again
I just wanted to make mention that the images, are on the same page.
I know I can add pictures in a different page.
With the instruction:
[code=fw:2tp9d63n]<div class="fw" id="{CB}" style="font-family: monospace;">iErr:=IPAddImg<span style="color: #000000;">(</span>imageFilename<span style="color: #0... |
Another more about RPreview and Image2PDF | There is no problem having images in the same page , i don't know about ehe evaluation version , maybe ...
try adding this
iErr := I2PDF_MetaToNativePDF()
iErr := I2PDF_MetaTextFitBoundingRect()
iErr := I2PDF_UseEMFDeviceSize( )
iErr := I2PDF_SetDPI(0) // Set PDF DPI to the same as the image
iErr := I2... |
Another more about RPreview and Image2PDF | Richard, I appreciate your time.
Try suggesting, not turned, and still more, download the trial version 2.52, and neither, I will be inclined to think that being a demo.
Yet despite that, engaging in the purchase.
Best regards |
Another more about RPreview and Image2PDF | hola
necesito convertir wmf a pdf, pero en este codigo no veo como enviar el oPreview...¿?
alguien tiene el codigo completo
gracias
saludos |
Another problem with Btnbmp | I use btnbmp to open a Selection as you can see on this snapshot
[img:3g8euama]https://i.postimg.cc/9MDvNzgL/ttttt.png[/img:3g8euama]
when I click on btnbmp is on the dialog lookup return this error
this is the error
[code=fw:3g8euama]<div class="fw" id="{CB}" style="font-family: monospace;">Appl... |
Another problem with Btnbmp | In the function ElementiVicini, declare oBtn as local variable |
Another problem with Btnbmp | make the same |
Another problem with TFolderEx | Hi,
again I've found a problem with TFolderEx. Everything right from and beneath the checkbox I go over with the mouse disappears.
It only happens with windows XP (and XP-Mode on Win7) using the classic design of windows XP and a manifest.
On Win7 with classic design it also happens if you first click checkbox "Test1... |
Another problem with dialog boxes | Hello,I have a very strange problem with dialog boxes. The dialog boxes are build from resources.The code looks like this :[code:qtfuif89]PRIVATE LnDlg,ClkDlg
......
DEFINE DIALOG LnDlg NAME ...
......
ACTIVATE DIALOG LnDlg NOWAIT ...
..&... |
Another problem with dialog boxes | Michel,You are using private variables and non modal dialogboxes. As they are non modal, the execution of the PRG does not stop there and you exit from your function and those private variables get destroyed.Please change those private variables into static variables |
Another problem with dialog boxes | Antonio,Thanks for your quick answer.I defined those variables as PRIVATE right at the start of my main program. Is that not the same as a STATIC variable ?I'll try your suggestion and I let you know the outcome.Thanks a lot. |
Another problem with dialog boxes | Michel,Then use public variables |
Another problem with dialog boxes | Antonio,I changed the PRIVATE variables first to STATIC variables.At the ClkDlg:End(), I got an error that "Variable ClkDlg doesn't exist".Then I changed those variables to PUBLIC variables but than the behaviour is just the same as it was with PRIVATE variables.What now ?Thanks. |
Another problem with dialog boxes | Michel,Could you provide me a small example to test here ? thanks <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> |
Another problem with dialog boxes | Antonio,I wish I could provide you with a example.It a some very small parts of a huge application (more than 120.000 lines of code). Second problem that OLE is involved (for a connection with Word).I'll try to give some more explanation :ClkDlg is a small dialogbox. In combination, a timer is started for the user to k... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.