Creating controls in a loop from array is very tricky. It does not work as expected.
Let me show why:
Wrong code:
for n := 1 to 20
@ n * 20, 50 GET aVar[ n ] OF oWnd <clauses>
next n
After this loop the present value of " n " is 21.
When the dialog is activated and controls are to be shown, the ...
Search found 47 matches: tricky
Searched query: tricky
- Fri May 10, 2024 2:56 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: passing a value through a for..next loop
- Replies: 14
- Views: 2894
- Wed Nov 08, 2023 5:43 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: xBrowse - Dates - FWH 2310
- Replies: 19
- Views: 3525
Re: xBrowse - Dates - FWH 2310
... to copy a file. It must be that some .dll on there wasn't current. However, those are fairly new installs ( within past 60 days ), and using all of the current install files, it also works on the ARM. So this is really tricky to solve.
Of course, we expect that with software .... and Windows
Tim
Of course, we expect that with software .... and Windows
Tim
- Mon Nov 15, 2021 1:24 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: ActiveX - CREATEOBJECT and singleton pattern
- Replies: 21
- Views: 2423
Re: ActiveX - CREATEOBJECT and singleton pattern
... This means that to create a valid COM singleton, you cannot allow your clients to do it themselves all of this can be done, but it is tricky and rarely necessary.
From this I concluded that the classic way of using singleton technology, cannot be achieved by a direct call to ...
From this I concluded that the classic way of using singleton technology, cannot be achieved by a direct call to ...
- Sat Jun 05, 2021 8:48 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: oDbf:Delete() error
- Replies: 15
- Views: 2111
Re: oDbf:Delete() error
... Clave } ) // block that run all data inside the exec(), so not in a loop
Only the 3 lines from Mr. Rao seems to be needed.
the <cond> is the tricky part... what code is needed
// other post :
If you want to delete all records where the field INVNUM == nInvoice, i.e., "1234567890128", then ...
Only the 3 lines from Mr. Rao seems to be needed.
the <cond> is the tricky part... what code is needed
// other post :
If you want to delete all records where the field INVNUM == nInvoice, i.e., "1234567890128", then ...
- Tue Nov 03, 2020 9:28 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: XBrowse: how to load image data instead of image name
- Replies: 17
- Views: 2166
Re: XBrowse: how to load image data instead of image name
... Best regards,
Otto
____________________________________________________________________________
Creating controls in a loop from array is very tricky. It does not work as expected.
Let me show why:
Wrong code:
for n := 1 to 20
@ n * 20, 50 GET aVar[ n ] OF oWnd <clauses>
next n
After this ...
Otto
____________________________________________________________________________
Creating controls in a loop from array is very tricky. It does not work as expected.
Let me show why:
Wrong code:
for n := 1 to 20
@ n * 20, 50 GET aVar[ n ] OF oWnd <clauses>
next n
After this ...
- Sun May 10, 2020 2:49 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Report Class question
- Replies: 4
- Views: 779
Re: Report Class question
As of now, we can not print two reports on a single page.
I did it more than 20 years ago using FW 16 bits. I remember it was a bit tricky, using the DelColumn and AddColumn methods with bPostEnd block but it worked flawlessly. For a reason I could not discover the upgrade to FWH broke my code. As ...
I did it more than 20 years ago using FW 16 bits. I remember it was a bit tricky, using the DelColumn and AddColumn methods with bPostEnd block but it worked flawlessly. For a reason I could not discover the upgrade to FWH broke my code. As ...
- Sat May 12, 2018 9:16 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: FwSavePreviewToPdf
- Replies: 34
- Views: 7446
Re: FwSavePreviewToPdf
... to help with that kind of convertion, I wasn't able to find a straight way to translate font names from a language into another, it was a very tricky matter.
One of the most common solutions to that convertion is to transform the EMF into something GhostScript can handle, like PCL5 (the language ...
One of the most common solutions to that convertion is to transform the EMF into something GhostScript can handle, like PCL5 (the language ...
- Sun May 06, 2018 6:46 pm
- Forum: FiveWin para Harbour/xHarbour
- Topic: TFBuffer, una clase para acelerar la escritura en ficheros
- Replies: 7
- Views: 2747
Re: TFBuffer, una clase para acelerar la escritura en ficheros
... because all the winnings will be lost in the logic applied to EVERY call. It will be clearer for the class user, otherwise the complex or 'tricky' behavoir should be very well documented, so my vote to KISS.
An alternative would be to have extra methods to every type, like AddDate, AddNumber ...
An alternative would be to have extra methods to every type, like AddDate, AddNumber ...
- Thu Mar 29, 2018 7:06 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: ntdll.dll error
- Replies: 8
- Views: 2126
Re: ntdll.dll error
Antonio,
Thanks for the link. I ran that utility ... and it shows absolutely no calls to the file. I suppose it gets tricky now because some other .dll could call it, and that is not tracked in the utility ...
Tim
Thanks for the link. I ran that utility ... and it shows absolutely no calls to the file. I suppose it gets tricky now because some other .dll could call it, and that is not tracked in the utility ...
Tim
- Wed Jan 24, 2018 8:57 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: GET auto action
- Replies: 4
- Views: 874
GET auto action
This is a bit tricky. A GET has both a VALID and an ACTION. The ACTION statement permits a lookup, and the valid then takes the value, checks the info in a file, and populates other fields.
To make the VALID work, there is a .T. at the end of events. For example VALID ( Step1(), Step2(), Step3(), .T ...
To make the VALID work, there is a .T. at the end of events. For example VALID ( Step1(), Step2(), Step3(), .T ...
- Thu Aug 24, 2017 11:52 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: Database - 17.07 - Problems
- Replies: 84
- Views: 17024
Re: Database - 17.07 - Problems
... fine, but with 1707 an error occurs when leaving the screen of browse using Tdata. Since there have been no changes in recent 6 months, and works well in 1705, so can be something altered in database.prg. It's tricky to make a little and self contained program, but I'll try.
thanks for your time.
thanks for your time.
- Wed Aug 23, 2017 1:05 pm
- Forum: Artificial Intelligence examples
- Topic: Our first neuronal network using TensorFlow !!!
- Replies: 6
- Views: 4053
Re: Our first neuronal network using TensorFlow !!!
... modify existing code step by step, in order to find bugs, instead of making many changes at once in the code. Python code
and TensorFlow code is tricky and changes must be implemented progressively.
This example is properly working and we are closer to have a working generic class TNeuronalNetwork ...
and TensorFlow code is tricky and changes must be implemented progressively.
This example is properly working and we are closer to have a working generic class TNeuronalNetwork ...
- Mon Jul 24, 2017 6:54 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Possible to run 2 or 3 browser synchronously ?
- Replies: 10
- Views: 3651
Re: Possible to run 2 browser synchronously ?
Uwe,
this is a bit tricky, but this might work:
oBrw1:bChange := {|| oBrw2:PostMsg( WM_KEYDOWN )} oBrw2:bChange := {|| oBrw1:PostMsg( WM_KEYDOWN )} oBrw1:lColChangeNotify := .t. oBrw2:lColChangeNotify := .t ...
this is a bit tricky, but this might work:
oBrw1:bChange := {|| oBrw2:PostMsg( WM_KEYDOWN )} oBrw2:bChange := {|| oBrw1:PostMsg( WM_KEYDOWN )} oBrw1:lColChangeNotify := .t. oBrw2:lColChangeNotify := .t ...
- Tue May 02, 2017 9:53 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Interfacing with Dicom sistems
- Replies: 41
- Views: 14135
Re: Interfacing with Dicom sistems
... it also represents the first field of the MSH segment. Since the first field of the MSH is typically only a pipe,’|’, counting MSH fields becomes tricky. Field 2 of the MSH (MSH-2) contains the other separator characters in this order: component, field repeat, escape, and sub-component.
Thus, the ...
Thus, the ...
- Sat Feb 04, 2017 10:53 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: SEO (Search Engine Optimization) with FWH
- Replies: 5
- Views: 1595
SEO (Search Engine Optimization) with FWH
... not chequet. and put it in a array.
I could create a array from a list (file) that has the words to eliminate, and check if it exist.
Now the tricky part : I would like to see all the individuale words, and make a composition of 2 or 3 words.
Sample : selected list words : Dassy, Jupiter, S1P ...
I could create a array from a list (file) that has the words to eliminate, and check if it exist.
Now the tricky part : I would like to see all the individuale words, and make a composition of 2 or 3 words.
Sample : selected list words : Dassy, Jupiter, S1P ...