topic
stringlengths
1
63
text
stringlengths
1
577k
Antonio: New Harbour-build
Hello Günther, It’s a pity that Austrian language could only be a wish in reality we have German language. Best regards und liebe Grüße Otto
Antonio: New Harbour-build
Günther, <!-- l --><a class="postlink-local" href="http://forums.fivetechsupport.com/viewtopic.php?f=16&t=32074&start=0">viewtopic.php?f=16&t=32074&start=0</a><!-- l -->
Antonio: New Harbour-build
Was the MSVC build on the FWH downloads page current ? If not, I'll look for a fresh one on the bitbucket page when you can post it. Thanks.
Antonio: New Harbour-build
To Otto!!! <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D --> Otto, liebe Grüße nach Osttirol. Ich kann kein "Januar" oder "Februar" hören! Bei uns heißt es "Jänner" (sogar amtlich!) und "Feber". Natürlich nicht in der Gastronomie wo vermutlich auch in deinem Falle viele "Deutsche" als Gäste kommen! Nochmals viele Grüße! Ich werde einmal hinaufkommen. Als Kärntner hab ichs ja nicht so weit. Günther
Antonio: New Harbour-build
Antonio, many thanks!!!
Antonio: New Harbour-build
Tim, <!-- l --><a class="postlink-local" href="http://forums.fivetechsupport.com/viewtopic.php?f=16&t=32081#p187738">viewtopic.php?f=16&t=32081#p187738</a><!-- l -->
Antonio: New Harbour-build
Antonio, there was a mistake in Harbour: [url:2s7anzb9]https&#58;//groups&#46;google&#46;com/forum/#!topic/harbour-devel/3Jk29ggmE6U[/url:2s7anzb9] If your time allow, please make a new build from Harbour.
Antonio: New Harbour-build
Günther, Thats why I like to wait several months until it gets stabilized <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
Antonio: New Harbour-build
Antonio, no problem. I had download from Harbour-code the .prg with the new code and compile extra. Thanks!
Antonio: Num2Word.prg
Antonio, for german you should make this definition: case nLang == 5 // German aNums := { "ein", "zwei", "drei", "vier", "fünf", "sechs", "sieben", "acht", "neun", "zehn", ; "elf", "zwölf", "dreizehn", "vierzehn", "fünfzehn", "sechzehn", "siebzehn", "achtzehn", "neunzehn ", "zwanzig" } aTens := { "zehn", "zwanzig", "dreißig", "vierzig", "fünfzig", "sechzig", "siebzig", "achtzig", "neunzig" } aUnits := { "hundert", "tausend", "millionen", "milliarden" } cAnd := " und"
Antonio: Num2Word.prg
Thank you very much. We implemented the changes.
Antonio: Num2Word.prg
I saw there is not italian language can have the source on english
Antonio: Num2Word.prg
case nLang == 6 // Italian aNums := { "uno", "due", "tre", "quattro", "cinque", "sei", "sette", "otto", "nove", "dieci", ; "undici", "dodici", "tredici", "quattordici", "quindici", "sedici", "diciasette", "diciotto", "diciannove ", "venti" } aTens := { "dieci", "venti", "trenta", "quaranta", "cinquanta", "sessanta", "settanta", "ottanta", "novanta" } aUnits := { "cento", "mille", "millione", "milliardo" } cAnd := " e"
Antonio: Num2Word.prg
We had Italian too: This was the original translation: [code=fw:1xg3tftu]<div class="fw" id="{CB}" style="font-family: monospace;"> &nbsp; &nbsp; &nbsp;aNums &nbsp; &nbsp;:= <span style="color: #000000;">&#123;</span> <span style="color: #ff0000;">"One"</span>, <span style="color: #ff0000;">"due"</span>, <span style="color: #ff0000;">"tre"</span>, <span style="color: #ff0000;">"quattro"</span>, <span style="color: #ff0000;">"cinque"</span>, <span style="color: #ff0000;">"sei"</span>, <span style="color: #ff0000;">"sette"</span>, <span style="color: #ff0000;">"otto"</span>, <span style="color: #ff0000;">"nove"</span>, <span style="color: #ff0000;">"th"</span>, ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0000;">"Undici"</span>, <span style="color: #ff0000;">"dodici"</span>, <span style="color: #ff0000;">"tredici"</span>, <span style="color: #ff0000;">"quattordici"</span>, <span style="color: #ff0000;">"quindici"</span>, <span style="color: #ff0000;">"sedici"</span>, <span style="color: #ff0000;">"diciassette"</span>, <span style="color: #ff0000;">"diciotto"</span>, <span style="color: #ff0000;">"diciannove"</span>, <span style="color: #ff0000;">"venti"</span> <span style="color: #000000;">&#125;</span><br />&nbsp; &nbsp; &nbsp; aTens &nbsp; &nbsp;:= <span style="color: #000000;">&#123;</span> <span style="color: #ff0000;">"Th"</span>, <span style="color: #ff0000;">"venti"</span>, <span style="color: #ff0000;">"trenta"</span>, <span style="color: #ff0000;">"quaranta"</span>, <span style="color: #ff0000;">"cinquanta"</span>, <span style="color: #ff0000;">"sessanta"</span>, <span style="color: #ff0000;">"settanta"</span>, <span style="color: #ff0000;">"ottanta"</span>, <span style="color: #ff0000;">"novanta"</span> <span style="color: #000000;">&#125;</span><br />&nbsp; &nbsp; &nbsp; aUnits &nbsp; := <span style="color: #000000;">&#123;</span> <span style="color: #ff0000;">"Cento"</span>, <span style="color: #ff0000;">"mille"</span>, <span style="color: #ff0000;">"milioni"</span>, <span style="color: #ff0000;">"miliardi"</span> <span style="color: #000000;">&#125;</span><br />&nbsp; &nbsp; &nbsp; cAnd &nbsp; &nbsp; := <span style="color: #ff0000;">" e"</span><br />&nbsp;</div>[/code:1xg3tftu] Now I changed as advised by you.
Antonio: Num2Word.prg
We request other users of Spanish and Portuguese also to suggest correct translations. Please see \fwh\source\function\num2words.prg
Antonio: Num2Word.prg
the italian language[b:1km2el8g] is wrong [/b:1km2el8g] [code=fw:1km2el8g]<div class="fw" id="{CB}" style="font-family: monospace;"><br />&nbsp;aNums &nbsp; &nbsp;:= <span style="color: #000000;">&#123;</span> <span style="color: #ff0000;">"One"</span>, <span style="color: #ff0000;">"due"</span>, <span style="color: #ff0000;">"tre"</span>, <span style="color: #ff0000;">"quattro"</span>, <span style="color: #ff0000;">"cinque"</span>, <span style="color: #ff0000;">"sei"</span>, <span style="color: #ff0000;">"sette"</span>, <span style="color: #ff0000;">"otto"</span>, <span style="color: #ff0000;">"nove"</span>, <span style="color: #ff0000;">"th"</span>, ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0000;">"Undici"</span>, <span style="color: #ff0000;">"dodici"</span>, <span style="color: #ff0000;">"tredici"</span>, <span style="color: #ff0000;">"quattordici"</span>, <span style="color: #ff0000;">"quindici"</span>, <span style="color: #ff0000;">"sedici"</span>, <span style="color: #ff0000;">"diciassette"</span>, <span style="color: #ff0000;">"diciotto"</span>, <span style="color: #ff0000;">"diciannove"</span>, <span style="color: #ff0000;">"venti"</span> <span style="color: #000000;">&#125;</span><br />&nbsp; &nbsp; &nbsp; aTens &nbsp; &nbsp;:= <span style="color: #000000;">&#123;</span> <span style="color: #ff0000;">"Th"</span>, <span style="color: #ff0000;">"venti"</span>, <span style="color: #ff0000;">"trenta"</span>, <span style="color: #ff0000;">"quaranta"</span>, <span style="color: #ff0000;">"cinquanta"</span>, <span style="color: #ff0000;">"sessanta"</span>, <span style="color: #ff0000;">"settanta"</span>, <span style="color: #ff0000;">"ottanta"</span>, <span style="color: #ff0000;">"novanta"</span> <span style="color: #000000;">&#125;</span><br />&nbsp; &nbsp; &nbsp; aUnits &nbsp; := <span style="color: #000000;">&#123;</span> <span style="color: #ff0000;">"Cento"</span>, <span style="color: #ff0000;">"mille"</span>, <span style="color: #ff0000;">"milioni"</span>, <span style="color: #ff0000;">"miliardi"</span> <span style="color: #000000;">&#125;</span><br />&nbsp; &nbsp; &nbsp; cAnd &nbsp; &nbsp; := <span style="color: #ff0000;">" e"</span><br /><br />&nbsp;</div>[/code:1km2el8g] this is the [b:1km2el8g]right [/b:1km2el8g] aNums := { "uno", "due", "tre", "quattro", "cinque", "sei", "sette", "otto", "nove", "dieci", ; "undici", "dodici", "tredici", "quattordici", "quindici", "sedici", "diciasette", "diciotto", "diciannove ", "venti" } aTens := { "dieci", "venti", "trenta", "quaranta", "cinquanta", "sessanta", "settanta", "ottanta", "novanta" } aUnits := { "cento", "mille", "millione", "milliardo" } cAnd := " e"
Antonio: Num2Word.prg
Mr Silvio I now adopted what you suggested.
Antonio: Num2Word.prg
In portuguese: aNums := { "um", "dois", "três", "quatro", "cinco", "seis", "sete", "oito", "nove", "dez", ; "onze", "doze", "treze", "quatorze", "quinze", "dezesseis", "dezessete", "dezoito", "dezenove", "vinte" } aTens := { "dez", "vinte", "trinta", "quarenta", "cinquenta", "sessenta", "setenta", "oitenta", "noventa" } aUnits := { "cento", "mil", "milhão", "bilhão" } cAnd := " e"
Antonio: Num2Word.prg
Mr Vilian Thank you. Adopted
Antonio: Num2Word.prg
[quote="nageswaragunupudi":2m838rn4]Mr Silvio I now adopted what you suggested.[/quote:2m838rn4] thanks to try the function can you write wich are c1 and c2 parameters ?
Antonio: Num2Word.prg
The function uses the currency name corresponding to the region set in FWNumFormat( cRegion, [lThousandSeparator] ) cRegion can be 'A' for America (general format), 'B', for Britan, 'E' for Europe and 'I' for India. This setting decides the default numeric format: 'A' and 'B' : 999,999,999.99 'E' : 999.999.999,99 'I' : 99,99,99,999.99 function NUMPICT( 9, 2 ) --> picture depending on the country code. It is desirable to depend on FWNumFormat() and NumPict() rather than hard-coding the picture clauses. This enables to change the numeric format globally and on the fly for applications that need to run globally. The function selects currency name as "Dollar", "Pound", "Euro", "Rupee" on the basis of the region 'A', 'B', 'E' or 'I'. When a different currency name is required, parameters c1 and c2 can be used for currency name and cents name. Example: [code=fw:1t4ozbgl]<div class="fw" id="{CB}" style="font-family: monospace;"><br />   FWNumFormat<span style="color: #000000;">&#40;</span> <span style="color: #ff0000;">"E"</span>, .t. <span style="color: #000000;">&#41;</span>  <span style="color: #B900B9;">// European format</span><br />   FW_N2WSETUP<span style="color: #000000;">&#40;</span> <span style="color: #000000;">4</span> <span style="color: #000000;">&#41;</span> <span style="color: #B900B9;">// Portuguese</span><br />   ? FW_NUMTOWORDS<span style="color: #000000;">&#40;</span> <span style="color: #000000;">4567.23</span> <span style="color: #000000;">&#41;</span><br />   ? FW_NUMTOWORDS<span style="color: #000000;">&#40;</span> <span style="color: #000000;">4567.23</span>, <span style="color: #ff0000;">"Real"</span>, <span style="color: #ff0000;">"cents"</span> <span style="color: #000000;">&#41;</span> <span style="color: #B900B9;">// The names will be used for all subsequent calls.</span><br /> </div>[/code:1t4ozbgl] Result: [code=fw:1t4ozbgl]<div class="fw" id="{CB}" style="font-family: monospace;"><br />Euros quatro mil cinco cento sessenta sete e  cents vinte três<br />Reals quatro mil cinco cento sessenta sete e cents vinte três<br /> </div>[/code:1t4ozbgl]
Antonio: Num2Word.prg
Mr Rao, This result in portuguese is wrong: [quote:2cdlsaox]Reals quatro mil cinco cento sessenta sete e cents vinte três[/quote:2cdlsaox] For this value(4567,23), the right result should be: [b:2cdlsaox]Quatro mil quinhentos e sessenta sete reais e vinte três centavos[/b:2cdlsaox]
Antonio: Num2Word.prg
Ola... Boa tarde Vilian, creio que esteja faltando uma variável do tipo ------------------100-------200------------300----------400------------500-------------600-------------700------------800---------900 aCentenas := { "Cem", "Duzentos","Trezentos","Quatrocentos","Quinhentos","Seiscentos","Setecentos","Oitocentos","Novecentos"} Creio que seja isto. Espero ter ajudado.
Antonio: Num2Word.prg
Nages, I Try with FWNumFormat( "E", .t. ) // European format FW_N2WSETUP( 6 ) // Italian ? FW_NUMTOWORDS( 4567.23 ) ? FW_NUMTOWORDS( 4567.23, "Euro", "centesimi" ) give me : [b:2i6yoqdt] Euros quattro mille cinque Cento sessanta sette e cents vent tre [/b:2i6yoqdt] but this is wrong because Quattromilacinquecentosessantasette/23 If the banck check is 500 euros, it is necessary to write: [b:2i6yoqdt]cinquecento/00.[/b:2i6yoqdt] If it is 500.50 euros, it is necessary to write: [b:2i6yoqdt]cinquecento/50[/b:2i6yoqdt] In case of 4567.23 In Italy I write [b:2i6yoqdt]Euro QuattroMilaCinqueCentoSessantaSette/23[/b:2i6yoqdt] then you can ask also to Enrico Maria Giordano or another Italian friend for try a test you can go to internet at <!-- m --><a class="postlink" href="https://www.blia.it/cifralettere/">https://www.blia.it/cifralettere/</a><!-- m --> and insert the number you want
Antonio: Num2Word.prg
Thanks for your comments. I find other languages are not as simple as English. Let me study more and see how to implement. Whenever I require, I will seek your help. Please give me some more time. Mr Gunther Are you getting the results correctly in German with your changes?
Antonio: Num2Word.prg
Mr. Nages, i will test next days!
Antonio: Num2Word.prg
Spanish is a bit more complicated, because at least in the case of 1, can be said in two different ways depending of its use... This was around 2003, made this just for fun, i never look back at it, because I never need it.... For sure in spanish you wont want it to say [quote:20ny4iuu]Ciento uno mil, quinientos uno dolares[/quote:20ny4iuu] In english and spanish never finished, the string can be quite long... needs to be broken down.... [url:20ny4iuu]http&#58;//www&#46;lawebdelprogramador&#46;com/codigo/Clipper-FiveWin/803-Convertir-cantidades-a-cadena&#46;html[/url:20ny4iuu]
Antonio: Problem in TRibbon
The vars in TRibbon.prg [code=fw:271q58o7]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">static</span> hQuickAreaL, hQuickAreaM, hQuickAreaR</div>[/code:271q58o7] should not be static! Should be normal data from the class. I use a second window and when i leave this window with ribbonbar , the quickarea from the main-window is cutted.
Antonio: Problem in TRibbon
Antonio, i have made the above changes and displaying of quickaccess in some windows is ok. Can you make this changes also in FWH?
Antonio: Problem in TRibbon
Implemented and working fine, thanks! <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
Antonio: Question to encrypt()/decrypt()
What range of characters are converted? I found, that < chr(32) are not functioning!?
Antonio: Question to encrypt()/decrypt()
Gunther i use encrypt and decrypt in my app without problem CRYPTEDTXT := CMIMEENC(ENCRYPT(xxxx)) decryptedtxt := DECRYPT(CMIMEDEC(ALLTRIM(CRYPTEDTXT))) Hth Richard
Antonio: Question to encrypt()/decrypt()
Günther, All of them are used. Could you provide an example ? thanks
Antonio: Requested SAY enhancement
Antonio,Any chance of you enhancing class TSAY to add option TRANSPARENT / OPAQUE?I have various DIALOGs where I want most SAYs to be transparent but some to be not transparent. The latter are typically mathematically calculated PROMPTs where the SAY control in my resource file has a border and I apply a background color to the SAY (resulting in the colored background filling the entire area inside the border box. Currently, if I make the DIALOG transparent, I lose the background colour for these bordered SAYs. Yes, I can include (eg)(oMyColorSay:lTransparent := .F.)at the time I ACTIVATE DIALOG but this only colors the *text* inside the SAY border instead of filling the entire SAY border area like it does if the DIALOG is not transparent. It also means a great amount of extra coding (an extra line for each such say).Any chance of you adding this TRANSPARENT / OPAQUE option to TSAY any time soon?Thanks,Colin
Antonio: Requested SAY enhancement
Colin,Yes, we are currently working on transparent portions of controls to implement rounded buttons, so we can use it for SAYs too
Antonio: Requested SAY enhancement
Great. Thanks, AntonioCol
Antonio: Requested xBrowse enhancement
Antonio,When editing a cell in xBrowse, I need the ability for UP and DOWN keys to complete the edit and move in the direction indicated. (i.e. instead of having to press RETURN first).I've been using LKM's TCBrowse for many years and love his version but I'm looking at the benefits of "modernising" to xBrowse. Some years ago I made some fairly complicated changes to LKM's TCBrowse to provide the above UP / DOWN facility, including a "No follow" action if the edit was on a field in the current cdx tag. e.g. Assume the data (indexed by Product) is:PRODUCT PRICEBlue Cap 5Blue Coat 42Blue Dress 33Blue Trousers 70- If you changed the Coat price then pressed DOWN, you would be on the Dress record. - However, if instead you wanted to change all the "Blue"s to "Red" in all product descriptions, then after changing "Blue Cap" to "Red Cap" and then pressing DOWN (without pressing RETURN), you would want to be on the "Blue Coat" record, not the record following "Red Cap". (i.e. You have changed the index order but now want to change the price of the next product you were up to). As mentioned, my changes to LKM's TCBrowse already handle this but took me quite a while to work out back then and the code is "messy" and it would seem to be a big job for me to make equivalent changes in xBrowse.This facility is extremely useful. (For me, vital).Are you able to implement this feature in xBrowse, Antonio?I'm also interested in how many other FiveWinners are interested in you adding such an enhancement. (I would have thought many people would have the need).Thanks,Colin
Antonio: Requested xBrowse enhancement
Colin,Yes, we can implement it
Antonio: Requested xBrowse enhancement
Colin and Antonio,I worked on this same problem about 10 years ago. First I reviewed spreadsheet behavior so I could recreate it in a browse. Here is the old specification I wrote for spreadsheet style editing. This may be of some help.James------------------------------Specification for Spreadsheet Style Editing1) A single cell is highlighted at a time, preferably with an heavy outline rather than the entire cell being in reverse video.2) Spreadsheets have two modes, edit and replace. The replace-mode is triggered when you start typing any key and this key initiates data entry with the previous data cleared and the new keystroke in the cell. Any of the four arrow keys ends the replace-mode and moves to the ajacent cell. The Enter key also ends the replace-mode except the cursor remains on the same cell. The Tab key terminates the replace-mode and moves to the cell to the right. The Shift-Tab terminates and moves to the cell to the left.3) A double-click or F2 triggers the edit-mode for the currently highlighted cell. [Note that Clipper users are used to using the Enter key for this--ideally we'd like to optionally use the Enter Key too.] This places the cell into a standard edit-mode with the existing data still in the cell. Use of the right and left arrow keys now just moves the cursor within the cell. Use of the up or down arrow keys ends the edit-mode and moves to the next cell. The Tab key ends the edit and moves to the cell to the right. The Shift-Tab ends the edit and moves to the cell to the left.4) A single click on a new cell while in the edit-mode ends the edit and moves to the new cell. A double click places it in the edit-mode too.
Antonio: Requested xBrowse enhancement
Many thanks, Antonio. I eagerly await such enhancement.On a side note, I must applaud you on your extremely prompt and pro-active customer service as your standard modus operandi. Frequent enhancements / fixes, ultra quick helpful responses to queries. We can't ask for better service.Kind regards,Colin
Antonio: Requested xBrowse enhancement
It would be nice to improve xBrowse to behave like excel, the way Mr James Bott suggested. Even new users feel the browse to be familiar. Having gone through xBrowse source code manytimes, I observed that the original intention appeard to make the grid behave like excel. Better continue further development in the directions advised by Mr James
Antonio: Requested xBrowse enhancement
hello test to see if this example serves you can use directional keys without pressing enter and stay in shape RELEASED<!-- m --><a class="postlink" href="http://www.accasoft.net/Ejemplo">http://www.accasoft.net/Ejemplo</a><!-- m --> xBrowse Estilo Excel.zip
Antonio: Requested xBrowse enhancement
is <!-- m --><a class="postlink" href="http://www.accasoft.net/Ejemplo%20xBrowse%20Estilo%20Excel.zip">http://www.accasoft.net/Ejemplo%20xBrow ... 0Excel.zip</a><!-- m -->
Antonio: Requested xBrowse enhancement
LuisDuque, The ability for UP and DOWN keys to complete the edit and move in the direction indicated. (i.e. instead of having to press RETURN first). By modify static function EditGetkeyDown().Great ! Thank you !Shuming Wang
Antonio: Some Little Bugs
Hello Antonio! 1: In Combobox with style CBS_DROPDOWN (with Get) the font becomes big if the combobox are setting to "disabled". 2: On gets with oGet:bPostedit := {|,cBuffer| } the cBuffer becomes NIL if the len of the get-variable is reached and another key is pressed. 3: In Combobox method ::set() should also evaluated the ::bChanged if exist. 4: In TRANSPARENT dialogs the treeview is ugly!
Antonio: Some Little Bugs
5: Also on Combobox the variable are not updated, when i call ::set(???) and the goal of set are the actual ::nAt.
Antonio: Some Little Bugs
Günther Here is the answer to your first question from Enrico .. had the same problem myself . <!-- l --><a class="postlink-local" href="http://forums.fivetechsupport.com/viewtopic.php?f=3&t=24915">viewtopic.php?f=3&t=24915</a><!-- l --> [code=fw:3fivjpfz]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">COMBOBOX</span> oCbx <span style="color: #0000ff;">VAR</span> cItem <span style="color: #0000ff;">ITEMS</span> <span style="color: #000000;">&#123;</span> <span style="color: #ff0000;">"Testing"</span>, <span style="color: #ff0000;">"this"</span>, <span style="color: #ff0000;">"ComboBox"</span> <span style="color: #000000;">&#125;</span> ;<br />&nbsp; &nbsp; &nbsp; <span style="color: #0000ff;">ID</span> <span style="color: #000000;">110</span> <span style="color: #0000ff;">OF</span> oDlg <span style="color: #0000ff;">when</span> cMode <> <span style="color: #ff0000;">"V"</span><br /><br />&nbsp; &nbsp;oCbx:<span style="color: #000000;">oGet</span>:<span style="color: #000000;">SetFont</span><span style="color: #000000;">&#40;</span> oFont <span style="color: #000000;">&#41;</span> <span style="color: #B900B9;">// <-- here is the fix</span><br />&nbsp;</div>[/code:3fivjpfz] Rick Lipkin
Antonio: Some Little Bugs
Antonio... is not better put this code in the initiate method of combobox ::oGet:SetText( oFont ) ? salu2 carlos vargas
Antonio: Some Little Bugs
Thanks to all. Point 1. is functioning! The class should do this automatically.
Antonio: Some Little Bugs
Antonio, please take a look at this points!
Antonio: Some Little Bugs
[quote="carlos vargas":tuy7izmj]Antonio... is not better put this code in the initiate method of combobox ::oGet:SetText( oFont ) ? salu2 carlos vargas[/quote:tuy7izmj] Added as ::oGet:SetFont( ::oFont ) thanks! <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
Antonio: Some Little Bugs
[quote="byte-one":vdm1v7n5]Hello Antonio! 3: In Combobox method ::set() should also evaluated the ::bChanged if exist. [/quote:vdm1v7n5] Implemented, thanks! <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
Antonio: Some Little Bugs
Eso Antonio, me habia equivocado con el metodo, puse SetText en lugar de SetFont. pero lo importante es que esta implementado. salu2 carlos vargas
Antonio: Suggested changes in class TRBGroup
1.) When i use a second window with ribbonbar and open and close this second window several times, the font in the first window is destroyed. We should not end the font. [code=fw:1ggxrcv2]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">METHOD</span> Destroy<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #00C800;">CLASS</span> TRBGroup<br />...<br /><span style="color: #B900B9;">//  ::oFont:End()</span><br />...</div>[/code:1ggxrcv2] 2.) This code is to reach a better linement of the text when texthigh is greater. [code=fw:1ggxrcv2]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">METHOD</span> <span style="color: #0000ff;">Paint</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #00C800;">CLASS</span> TRBGroup<br />...<br />      nOldBk := SetBkMode<span style="color: #000000;">&#40;</span> ::<span style="color: #000000;">hDC</span>, TRANSPARENT <span style="color: #000000;">&#41;</span><br />      DrawText<span style="color: #000000;">&#40;</span> ::<span style="color: #000000;">hDC</span>, ::<span style="color: #000000;">cCaption</span>,<span style="color: #000000;">&#123;</span> aRect<span style="color: #000000;">&#91;</span> <span style="color: #000000;">3</span> <span style="color: #000000;">&#93;</span> - ::<span style="color: #000000;">oFont</span>:<span style="color: #000000;">nHeight</span> * nLine * <span style="color: #000000;">1.3</span> , aRect<span style="color: #000000;">&#91;</span> <span style="color: #000000;">2</span> <span style="color: #000000;">&#93;</span> + <span style="color: #000000;">3</span>, aRect<span style="color: #000000;">&#91;</span> <span style="color: #000000;">3</span> <span style="color: #000000;">&#93;</span> - <span style="color: #000000;">1</span>, aRect<span style="color: #000000;">&#91;</span> <span style="color: #000000;">4</span> <span style="color: #000000;">&#93;</span> - <span style="color: #000000;">3</span> <span style="color: #000000;">&#125;</span>, nStyle <span style="color: #000000;">&#41;</span>   <span style="color: #B900B9;">//NEW</span><br />      SetBkMode<span style="color: #000000;">&#40;</span> ::<span style="color: #000000;">hDC</span>, nOldBk <span style="color: #000000;">&#41;</span><br />...</div>[/code:1ggxrcv2]
Antonio: Suggested changes in class TRBGroup
[quote:4eolvoz2]We should not end the font.[/quote:4eolvoz2] I am of the view that the ::oFont should be ended inside the Destroy() method and that the program need not be modified. To set a font to a control like this, we should use oGrp:SetFont( oOurFont ) and should not directly assign oGrp:oFont := oOurFont. SetFont( oFont ) increments the count of font and the oFont:end() in the Destroy() method decrements the count.
Antonio: Suggested changes in class TRBGroup
[quote:23e0itfd]This code is to reach a better linement of the text when texthigh is greater.[/quote:23e0itfd] The requirement is appreciated and will be implemented in an appropriate manner.
Antonio: Suggested changes in class TRBGroup
I assign the font with ::setfont( oMyfont ) as you wrote! The same font is assigned to the parent ribbonbar and also to the buttons from the RBGroups. I see in the code from the ribbonbar and buttons that the font also not is ended!? Another suggestion is to use the function RefreshRibbonBarBtn( oRb , oMyfont ) also to assign a font to all the ribbonbar-contents, if needed (as i made also so)!
Antonio: Suggested changes in class TRBGroup
Mr Günther First I stand corrected on my earlier posting on ::oFont:End(). You are right. We shall remove this line, because call to Super:Destroy() is releasing the font. Thank you for other suggestions and we shall work on them.
Antonio: Testimg final saga :-)
Antonio:Going back to the Testimg.exe sample program: [color=blue:1esufrej]http://forums.fivetechsoft.com/viewtopic.php?t=13587[/color:1esufrej]If I upgrade to FWH 8.10 from 8.05, will this program open JPGs without locking up ? On the contrary should I used the latest Harbour that you have published over xHarbour September 2008 build ? Thank you.
Antonio: Testimg final saga :-)
Gustavo,You have tried our EXE built using FWH 8.10 and Harbour. So you can check for yourself if it works fine with FWH 8.10 <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->If you want to, we can also build it using xHarbour, but it should work the same way.
Antonio: Testimg final saga :-)
Antonio:Can you compile it with xHarbour and post it for download ? Thank you for your help.
Antonio: Testimg final saga :-)
Gustavo,Here you have it:<!-- m --><a class="postlink" href="http://rapidshare.com/files/165401816/testimg.zip.html">http://rapidshare.com/files/165401816/testimg.zip.html</a><!-- m -->
Antonio: Testimg final saga :-)
Antonio:Thank you, consistently great support as always !
Antonio: USB Pendrive for s/w protection
Hi Antonio,A while back we did some playing around with using a pendrive as a software protection device.[url:32p95pho]http&#58;//fivetechsoft&#46;com/forums/viewtopic&#46;php?t=8805&highlight=protection[/url:32p95pho]I have a small problem and was wondering if you can help...It works perfectly if the user has admin rights but if they have a limited account it is as if the pendrive is not inserted. (I'm running Windows XP Pro)Any ideas on how to get it working on a limited account?
Antonio: USB Pendrive for s/w protection
I forgot to mention...Through my desktop I have no problem reading / writing / deleting files from the pendrive.
Antonio: USB Pendrive for s/w protection
Jeff,is the pendrive recognized from the system ? Maybe the USB port is blocked for limited users, so they are not allowed to use USB hardware.Check also the mapped drives, XP is not able to give the pen a driveletter if there is no driveletter free between the local drives and the mapped drives.IF the last local drive is E:\ and the first mapped drive is F: XP tries to assign also F: to the pendrive.The pendrive is unvisible in this case.
Antonio: USB Pendrive for s/w protection
[quote="Jeff Barnes":1dv57dcp]Hi Antonio, A while back we did some playing around with using a pendrive as a software protection device. [url:1dv57dcp]http&#58;//fivetechsoft&#46;com/forums/viewtopic&#46;php?t=8805&highlight=protection[/url:1dv57dcp] I have a small problem and was wondering if you can help... It works perfectly if the user has admin rights but if they have a limited account it is as if the pendrive is not inserted. (I'm running Windows XP Pro) Any ideas on how to get it working on a limited account?[/quote:1dv57dcp]Jeff,I have the same problem:<!-- m --><a class="postlink" href="http://fivetechsoft.com/forums/viewtopic.php?t=10658&highlight=usb">http://fivetechsoft.com/forums/viewtopi ... hlight=usb</a><!-- m -->Antonio?SaludosCarlos G.
Antonio: USB Pendrive for s/w protection
Carlos,I have tested it in Vista and always with Administrator rights.Sorry, I can't help on that. Surely Google may help.
Antonio: USB Pendrive for s/w protection
[quote="Antonio Linares":2o7cn9p7]Carlos, I have tested it in Vista and always with Administrator rights. Sorry, I can't help on that. Surely Google may help.[/quote:2o7cn9p7]Antonio,Yo no se programar en C por tanto no me veo capaz de resolver este caso.No lo había reclamado antes al ver que sólo yo tenía el problema; esperaré a que haya más gente en mi situación.Saludos y gracias.Carlos G.
Antonio: USB Pendrive for s/w protection
Carlos,No es una cuestion de programación en C.Habría que ver si un usuario puede darse nivel de administrador para acceder a la escritura en la llave USB.Pero lo que me extraña es que haga falta ser administrador para escribir en ella. Nosotros no hemos detectado ese problema con Vista.Jeff habla de una cuenta limitada. Si la limitación incluye el no acceder a la llave USB entonces, poco se podrá hacer, supongo...
Antonio: USB Pendrive for s/w protection
[quote="Antonio Linares":1s99njns]Carlos, No es una cuestion de programación en C. Habría que ver si un usuario puede darse nivel de administrador para acceder a la escritura en la llave USB. Pero lo que me extraña es que haga falta ser administrador para escribir en ella. Nosotros no hemos detectado ese problema con Vista. Jeff habla de una cuenta limitada. Si la limitación incluye el no acceder a la llave USB entonces, poco se podrá hacer, supongo...[/quote:1s99njns]Antes de nada discúlpame si quizás no he entendido el problema de Jeff.Cuando hacia referencia al antipirateo mediante USB supuse que se trataba del mismo problema que tengo yo; que es que si no soy administrador no puedo obtener el número de serie del USB, aunque sí que puedo realizar de todo con él: leer, crear carpetas, escribir y ¿formatear?.Y claro como para variar el tipo de acceso al USB desde las funciones que proporciona Fivewin se necesita reprogramar esas funciones, de ahí el comentario sobre el C.En fin esa era la cuestión, mi cuestión.Saludos y graciasCarlos G.
Antonio: USB Pendrive for s/w protection
Carlos,El código fuente completo está en FWH\samples\protect.prg y no usa C para nada <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->Puedes modificarlo como desees!
Antonio: USB Pendrive for s/w protection
[quote="Antonio Linares":33tlc2sx]Carlos, El código fuente completo está en FWH\samples\protect.prg y no usa C para nada <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> Puedes modificarlo como desees![/quote:33tlc2sx]Es cierto, ya no me acordaba de como eran las funciones que nos proporcionostes.Por lo que veo en ellas, el problema no es su lógica sino de lo que hacen uso.Para no equivocarme otra vez, he vuelto a comprobar que bajo W2000 si no eres administrador no obtienes el número de serie del USB.De todas maneras cada día que pasa tengo menos problabilidades de encontrarme de nuevo con el problema (W2000 ya tiene 8 años y se estan instalando XP), por tanto KELEDEN.Gracias por todo y perdona las molestias.Carlos G.
Antonio: USB Pendrive for s/w protection
Carlos,No es molestia, al contrario, contento de poder ser de ayuda <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
Antonio: Upgrade suggestions
I've been supporting & enhancing a business application for many years now that evolved from DBase to Clipper to FiveWin, and am now looking at the next transition that will enable it to run successfully on current Windows platforms (XP, Vista, etc.). It is basically just a database program that relies extensively on customized reports, which requires quite a lot of specialized indexes. The programming tools I’m currently using are: Clipper 5.2e FiveWin 1.9.5 SP5 Blinker 5.10 Resource Workshop 1.02 Microsoft Library Manager 3.10 Comix 3.0 RDD Funcky 6.0 Protection Plus 4.05 My question is this... what would be your advice in regard to upgrading my software that would impact the development timeframe the least. In other words, what sort of problems might I expect if I choose to upgrade my current version of FiveWin with little or no changes to the client’s source code. The application has no special requirements that would necessitate using 32 bits or 64 bits (that I’m aware of), but it would need to run on various versions of Windows platforms (Win98 and beyond). Thanks in advance for any advice and/or suggestions. - Steve
Antonio: Upgrade suggestions
Steve, The best advice is to upgrade your application to FiveWin for Harbour/xHarbour (FWH) as your application will be 32 bits with perfect integration with XP, Vista, etc. You can easily upgrade from FiveWin for Clipper to FWH in two weeks or less. Most of FiveWin developers are already using FWH. 16 bits will give you troubles with memory management, resources management, usb printers management, etc. as your application grows. 32 bits is the natural evolution for your application
Antonio: Upgrade suggestions
So... all my other software tools will still be compatible? Also, what sort of changes would have to be made that would take about two weeks. Would that be changes to the source code, or changes to the make/link scripts, or...? - Steve
Antonio: Upgrade suggestions
Steve, > So... all my other software tools will still be compatible? Yes. Are you using any third party libraries ? Blinker is no longer needed. > Also, what sort of changes would have to be made that would take about two weeks. > I said two weeks for a maximum time, but you could have it in two days only. There is some software that it is not 32 bits compatible as VBXs, or third parties 16 bits DLLs. For these you will need to use their 32 bits equivalents. Thats why I estimated two weeks. > Would that be changes to the source code, or changes to the make/link scripts, or...? > Basically you have to replace clipper.exe with harbour.exe, and have to modify your make file to call a free C compiler (Borland) that will generate the OBJ from a temporary C file. You don't need to modify (or understand) that intermediate C file at all. We use Borland free ilink32.exe instead of blinker.exe. With FWH we provide you the required batch file (and make files also) to build your 32 bits application. You will have all our tech support and help to successfully migrate to 32 bits in record time.
Antonio: Upgrade suggestions
The only third party libraries being used are: Comix RDD 3.0 Funcky 6.0 Protection Plus 4.05 NetLib 6.5 Would these need to be upgraded as well? - Steve
Antonio: Upgrade suggestions
Steve, > Would these need to be upgraded as well? Yes, as you can not mix 16 and 32 bits code into the same EXE. > Comix RDD 3.0 Harbour provides native built-in comix fully compatible RDD. So you don't need comix any longer. > Funcky 6.0 What functions do you use from Funcky ? Funcky also provides an OLE library (32 bits) that can be used with FWH. > Protection Plus 4.05 Could you check if they provide a 32 bits version ? If not, what sort of protection does it offer ? We may help you to replace it with a similar system. > NetLib 6.5 What functions do you use from NetLib ? Again, you may check if there is a 32 bits version.
Antonio: Vertical textposition in SAYS GETS or in XBROWSE
If i use "Arial" in most cases the text is vertical centerd ok in gets. But when i use z.B. "Segoe UI" (WITH THE SAME HEIGHT) the text is deeper on the line and in the get in some cases the space between get-top and text-top are to great to show the complete height of the text! ( is tmInternalLeading to respect??? ) This gives often a ugly look! Or try to center a "7" in a circle with different fonts. You see, that the vertical position changes with the used font.
Antonio: Vertical textposition in SAYS GETS or in XBROWSE
I write functions to center a text in vert. The letters have in all fonts different space in all directions. This is to correcting. For the vertical problem from GETS i found no solution. Antonio? [code=fw:2qha2n4b]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">function</span> FontMetricsPos<span style="color: #000000;">&#40;</span> nTop, nBottom , oWin, oFont <span style="color: #000000;">&#41;</span>&nbsp; <span style="color: #B900B9;">//Vertikal alignment -> Gives the correct value for nTop in DrawTextEx() and so on</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #B900B9;">//nTop</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #B900B9;">//nBottom [optional]</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #B900B9;">//oWin&nbsp; Window- or printobject</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #B900B9;">//oFont&nbsp;Fontobject</span><br /><span style="color: #00C800;">local</span> hDC, nHeight := <span style="color: #000000;">0</span>, nVMitte := <span style="color: #000000;">0</span><br /><br /><span style="color: #00C800;">DEFAULT</span> nBottom := nTop + oFont:<span style="color: #000000;">nHeight</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><br />nTop := int<span style="color: #000000;">&#40;</span>nTop<span style="color: #000000;">&#41;</span><br />nBottom := int<span style="color: #000000;">&#40;</span>nBottom<span style="color: #000000;">&#41;</span><br />nVMitte := nTop + int<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#40;</span>nBottom - nTop<span style="color: #000000;">&#41;</span>/<span style="color: #000000;">2</span><span style="color: #000000;">&#41;</span><br /><br /><span style="color: #00C800;">if</span> upper<span style="color: #000000;">&#40;</span>oWin:<span style="color: #000000;">classname</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span> == <span style="color: #ff0000;">"TPRINTER"</span><br />&nbsp; &nbsp; hDc := oWin:<span style="color: #000000;">hDCOut</span><br />&nbsp; &nbsp; oFont:<span style="color: #0000ff;">Activate</span><span style="color: #000000;">&#40;</span> hDC <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; nHeight := GetTextMetricsFo<span style="color: #000000;">&#40;</span> hDC <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; oFont:<span style="color: #000000;">Deactivate</span><span style="color: #000000;">&#40;</span> hDC <span style="color: #000000;">&#41;</span><br /><span style="color: #00C800;">else</span><br />&nbsp; &nbsp; hDC := oWin:<span style="color: #000000;">GetDC</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; oFont:<span style="color: #0000ff;">Activate</span><span style="color: #000000;">&#40;</span> hDC <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; nHeight := GetTextMetricsFo<span style="color: #000000;">&#40;</span> hDC <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; oFont:<span style="color: #000000;">Deactivate</span><span style="color: #000000;">&#40;</span> hDC <span style="color: #000000;">&#41;</span><br />&nbsp; &nbsp; oWin:<span style="color: #000000;">ReleaseDC</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><br /><span style="color: #00C800;">endif</span><br /><br /><span style="color: #00C800;">return</span> nVMitte - ceiling<span style="color: #000000;">&#40;</span>nHeight/<span style="color: #000000;">2</span><span style="color: #000000;">&#41;</span> + <span style="color: #000000;">1</span><br /><br /><span style="color: #B900B9;">//*****************************************************</span><br /><br /><span style="color: #00C800;">HB_FUNC</span><span style="color: #000000;">&#40;</span> GETTEXTMETRICSFO <span style="color: #000000;">&#41;</span><br /><span style="color: #000000;">&#123;</span><br />&nbsp; &nbsp;TEXTMETRIC tm;<br /><br />&nbsp; &nbsp;HDC hDC = <span style="color: #000000;">&#40;</span> HDC <span style="color: #000000;">&#41;</span> hb_parnl<span style="color: #000000;">&#40;</span> <span style="color: #000000;">1</span> <span style="color: #000000;">&#41;</span>;<br /><br />&nbsp; &nbsp;GetTextMetrics<span style="color: #000000;">&#40;</span> hDC, &tm <span style="color: #000000;">&#41;</span>;<br /><br />&nbsp; &nbsp;hb_retni<span style="color: #000000;">&#40;</span> tm.tmAscent + tm.tmInternalLeading <span style="color: #000000;">&#41;</span>;<span style="color: #B900B9;">//+ tm.tmExternalLeading );</span><br /><span style="color: #000000;">&#125;</span><br /><span style="color: #B900B9;">//----------------------------------------------------------------------------//</span></div>[/code:2qha2n4b]
Antonio: Vertical textposition in SAYS GETS or in XBROWSE
Günther You feel the same if the Get is in a Dialog, in a window or on a TPanel? Spanish Günther Te pasa lo mismo si el Get está en un Dialog, en una ventana o en un TPanel?
Antonio: Vertical textposition in SAYS GETS or in XBROWSE
Please see this get-object with "Segoe UI". In various classes this should corrected. I use the above code in xBrowse. [url:2fgesqw3]http&#58;//byte-one&#46;com/v&#46;png[/url:2fgesqw3]
Antonio: Vertical textposition in SAYS GETS or in XBROWSE
Cristobal, yes in all cases. This is a screenshoot with a disabled get. The code for disabled gets are in TGet:paint(). For active gets it seems, Windows itself manage the font-position. But not all fonts are optimal. Try "Gabriola".
Antonio: anything new on this post ?
<!-- l --><a class="postlink-local" href="http://forums.fivetechsupport.com/viewtopic.php?f=3&t=32177">viewtopic.php?f=3&t=32177</a><!-- l -->
Antonio: anything new on this post ?
Gustavo, Sorry I missed your post I have just emailed you the FWH modified libs so your example works fine <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
Antonio: anything new on this post ?
Antonio: Everything working ok. Thank you very much my friend !
Antonio: anything new on this post ?
very good <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
Antonio: can you take a look at this posts ?
<!-- l --><a class="postlink-local" href="http://forums.fivetechsupport.com/viewtopic.php?f=3&t=26726">viewtopic.php?f=3&t=26726</a><!-- l --> <!-- l --><a class="postlink-local" href="http://forums.fivetechsupport.com/viewtopic.php?f=3&t=26724">viewtopic.php?f=3&t=26724</a><!-- l --> Thank you.
Antonio: can you take a look at this posts ?
Antonio: Can you take a look at these posts ? <!-- l --><a class="postlink-local" href="http://forums.fivetechsupport.com/viewtopic.php?f=3&t=27085">viewtopic.php?f=3&t=27085</a><!-- l --> <!-- l --><a class="postlink-local" href="http://forums.fivetechsupport.com/viewtopic.php?f=3&t=27084">viewtopic.php?f=3&t=27084</a><!-- l --> Thank you.
Antonio: clase Gif
Maestro:Seria posible que en la version de Mayo de FWH ya este toda la clase para uso de los gif en lenguaje C para no tener problemas con Borland 2005?Muchas gracias.SaludosRuben Fernandez
Antonio: clase Gif
Ruben,Vamos a intentarlo pero tal vez no nos de tiempo para la versión 8.05
Antonio: clase Gif
Gracias igual, que sea para la 806SaludosRuben Fernandez
Antonio: how about button [?] in NoModal dialogs?
Antonio, could you solve that problem of [?] button in NoModal dialogs? The [?] button don't work in this dialog type... Regards! Maurilio
Antonio: how about button [?] in NoModal dialogs?
Any news?
Antonio: how about button [?] in NoModal dialogs?
Maurilio, We are going to review it asap. Thanks,
Antonio: how about button [?] in NoModal dialogs?
Maurilio, This sample is working fine, though on the nonmodal dialog the help-arrow cursor is not shown, but it properly fires the request for Help event: [code:3p7e4c23] #include "FiveWin&#46;ch" function Main&#40;&#41; local oDlg1, oDlg2 DEFINE DIALOG oDlg1 TITLE "NON MODAL" ACTIVATE DIALOG oDlg1 NOWAIT DEFINE DIALOG oDlg2 TITLE "MODAL" ACTIVATE DIALOG oDlg2 CENTERED return nil [/code:3p7e4c23]
Antonio: how about button [?] in NoModal dialogs?
[quote="Antonio Linares":1718sm0p] (...) help-arrow cursor is not shown, but it properly fires the request for Help event [/quote:1718sm0p] Antonio, What method fire help event for this case? I'm thinking in change cursor resource for myself... What do you think? Regards! Maurilio
Antonio: linking errors (Not solved)
Antonio: I'm getting linking errors when building the SAMPSIX.PRG included in FW 10.06. I'm trying to build the app with FW 13.09. What libraries I'm missing ? Here are the errors: [code=fw:2q0hn1sh]<div class="fw" id="{CB}" style="font-family: monospace;">Compiling...<br />xHarbour <span style="color: #000000;">1.2</span><span style="color: #000000;">.3</span> Intl. <span style="color: #000000;">&#40;</span>SimpLex<span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#40;</span>Build <span style="color: #000000;">20130422</span><span style="color: #000000;">&#41;</span><br />Copyright <span style="color: #000000;">1999</span><span style="color: #000000;">-2013</span>, http:<span style="color: #B900B9;">//www.xharbour.org <!-- m --><a class="postlink" href="http://www.harbour-project.org/">http://www.harbour-project.org/</a><!-- m --></span><br />Compiling <span style="color: #ff0000;">'sampsix.prg'</span> and generating preprocessed output <span style="color: #0000ff;">to</span> <span style="color: #ff0000;">'sampsix.ppo'</span>...<br />Generating C source output <span style="color: #0000ff;">to</span> <span style="color: #ff0000;">'sampsix.c'</span>...<br />Done.<br />Lines <span style="color: #000000;">40</span>, Functions/Procedures <span style="color: #000000;">1</span>, pCodes <span style="color: #000000;">106</span><br />Borland C++ <span style="color: #000000;">5.82</span> <span style="color: #00C800;">for</span> Win32 Copyright <span style="color: #000000;">&#40;</span>c<span style="color: #000000;">&#41;</span> <span style="color: #000000;">1993</span>, <span style="color: #000000;">2005</span> Borland<br />sampsix.c:<br /><span style="color: #000000;">Turbo</span> Incremental Link <span style="color: #000000;">5.69</span> Copyright <span style="color: #000000;">&#40;</span>c<span style="color: #000000;">&#41;</span> <span style="color: #000000;">1997</span><span style="color: #000000;">-2005</span> Borland<br />Error: <span style="color: #000000;">Unresolved</span> external <span style="color: #ff0000;">'_HB_FUN_SIX'</span> referenced <span style="color: #0000ff;">from</span> C:\T\SAMPSIX.OBJ<br />Error: <span style="color: #000000;">Unresolved</span> external <span style="color: #ff0000;">'_HB_FUN_SX_SETFILETYPE'</span> referenced <span style="color: #0000ff;">from</span> C:\T\SAMPSIX.OBJ<br />Error: <span style="color: #000000;">Unresolved</span> external <span style="color: #ff0000;">'_HB_FUN_SX_SETCENTURY'</span> referenced <span style="color: #0000ff;">from</span> C:\T\SAMPSIX.OBJ<br />Error: <span style="color: #000000;">Unresolved</span> external <span style="color: #ff0000;">'_HB_FUN_SX_SETDELETED'</span> referenced <span style="color: #0000ff;">from</span> C:\T\SAMPSIX.OBJ<br />Error: <span style="color: #000000;">Unresolved</span> external <span style="color: #ff0000;">'_HB_FUN_SX_SETEPOCH'</span> referenced <span style="color: #0000ff;">from</span> C:\T\SAMPSIX.OBJ<br />* Linking errors *</div>[/code:2q0hn1sh]