messages
listlengths 1
1
| topic
stringlengths 2
60
|
---|---|
[
{
"date": "2019-03-16",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Que más falta???\nSi aún no te has apuntado hazlo!!!!\n\nSeguro que aprendes un montón y conocerás a mucha gente...",
"time": "08:47",
"topic": "2a Reunión de programadores de Harbour Magazine",
"username": "xmanuel"
}
] |
2a Reunión de programadores de Harbour Magazine
|
[
{
"date": "2019-03-27",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Ya tenemos agenda para la 2ª Reunión de programadores de Harbour Magazine, es la siguiente:\n\nSábado\t10:00\tApertura de la reunión\tJosé Luis Sánchez\n\t10:15\tPruebas unitarias con Harbour\tManuel Calero\n\t11:15\tTDolphin\tBiel Maimó\n\t12:15\tHarbour en Android\tAntonio Linares\n\t13:30\tComida\t\n\t16:30\tMigración DBF - SQL\tBingen Ugaldebere\n\t17:30\tDocker\tAntonio Linares\n\t18:30\tHarbour en Android II\tAntonio Linares\n\t19:30\tOpenXava\tJosé Tur\n\t20:30\tCena\t\n\t\t\t\nDomingo\t10:00\tDepuración con Hwgdebug\tJosé Luis Sánchez\n\t11:00\tCierre de reunión\tJosé Luis Sánchez\n\t11:30\tTaller de Harbour\t\n\t13:30\tComida de despedida\t\n\nSi alguien quiere inscribirse todavía está a tiempo.\n\nSaludos,",
"time": "16:43",
"topic": "2a Reunión de programadores de Harbour Magazine",
"username": "José Luis Sánchez"
}
] |
2a Reunión de programadores de Harbour Magazine
|
[
{
"date": "2017-07-20",
"forum": "FiveWin for Harbour/xHarbour",
"text": "I have talked with Antonio today and I am happy to announce the next international conference 2018 will be in Brazil!\n\n<!-- m --><a class=\"postlink\" href=\"https://www.facebook.com/fivewin/\">https://www.facebook.com/fivewin/</a><!-- m -->\n\nEverybody will be welcome!\n\nNote,\nThere's no date and place yet defined.\n\nThanks Antonio for it!",
"time": "02:35",
"topic": "2nd FWH + [x]Harbour 2018 international conference in Brazil",
"username": "Lailton"
}
] |
2nd FWH + [x]Harbour 2018 international conference in Brazil
|
[
{
"date": "2017-07-20",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Very Good !",
"time": "11:56",
"topic": "2nd FWH + [x]Harbour 2018 international conference in Brazil",
"username": "vilian"
}
] |
2nd FWH + [x]Harbour 2018 international conference in Brazil
|
[
{
"date": "2017-07-21",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Very Good !",
"time": "03:02",
"topic": "2nd FWH + [x]Harbour 2018 international conference in Brazil",
"username": "MGA"
}
] |
2nd FWH + [x]Harbour 2018 international conference in Brazil
|
[
{
"date": "2019-01-11",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hi,\nCould we have more info about this ?\nAn idea of the date ?\n\nThanks , \n\nPhilippe",
"time": "11:25",
"topic": "2nd FWH + [x]Harbour 2019 international conference in Sillia",
"username": "Jack"
}
] |
2nd FWH + [x]Harbour 2019 international conference in Sillia
|
[
{
"date": "2019-01-11",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hello Philippe,\nthe info will be posted this weekend.\nBest regards\nOtto",
"time": "17:22",
"topic": "2nd FWH + [x]Harbour 2019 international conference in Sillia",
"username": "Otto"
}
] |
2nd FWH + [x]Harbour 2019 international conference in Sillia
|
[
{
"date": "2019-01-14",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Otto,\nIf you do not organize a trip to the loacker and in Salzburg this I will strike and when I arrive I put the virus on all the computers even those of Iris !!!\n <!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D --> <!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D --> <!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D --> <!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D -->",
"time": "16:35",
"topic": "2nd FWH + [x]Harbour 2019 international conference in Sillia",
"username": "Silvio.Falconi"
}
] |
2nd FWH + [x]Harbour 2019 international conference in Sillia
|
[
{
"date": "2019-01-21",
"forum": "FiveWin for Harbour/xHarbour",
"text": "[url:3143lhm5]http://medium.com/harbour-magazine[/url:3143lhm5]\n\nRegards,\nJosé Luis Sánchez",
"time": "20:16",
"topic": "2nd Harbour Magazine programmers conference",
"username": "José Luis Sánchez"
}
] |
2nd Harbour Magazine programmers conference
|
[
{
"date": "2019-02-22",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hello,\nWe already have a first list of talks that we are going to make at the 2nd Meeting of Harbour programmers next March in Calpe (Alicante). \n\nThe scheduled talks are the following:\n* Unit tests with Harbour by Manuel Calero.\n* Rapid migration to SQL by Bingen Ugaldebere.\n* Use of TDolphin by Biel Maimó\n* OpenXava by Genaro Tur\n* Debugging Harbour/FWH applications with hwgdebug by José Luis Sánchez\n\nWe will also hold an open Habour workshop where attendees can raise questions and resolve them among all. If any other attendee wants to make a talk we are happy to hear your proposals.\n\nI remind you that the meeting will be from 29 to 31 March in Calpe (Alicante), that there is no registration fee and that there are affordable accommodation in the area so that the cost is as low as possible. I encourage everyone to come to the meeting, and you can register at the following URL [url:1sj6rc63]https://drive.google.com/open?id=1bXAszn4P1nYTVY5zRU_pjPpsxnWLD16konXkDb1bJo8[/url:1sj6rc63]. Both me and the other organizers and speakers of the talks are preparing the meeting with great enthusiasm, and we would like to have the presence of as many programmers as possible.\n\nKind regards,\nJosé Luis Sánchez",
"time": "20:15",
"topic": "2nd Harbour Magazine programmers conference",
"username": "José Luis Sánchez"
}
] |
2nd Harbour Magazine programmers conference
|
[
{
"date": "2019-02-26",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hi,\nIs it English speeking ?\n\nThanks",
"time": "13:50",
"topic": "2nd Harbour Magazine programmers conference",
"username": "Jack"
}
] |
2nd Harbour Magazine programmers conference
|
[
{
"date": "2019-02-26",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hello Jack,\nthe talks will be in Spanish, but I'm sure that you can follow them with the presentations we will show, and with the help of other attendants.\n\nRegards,\nJose Luis",
"time": "18:12",
"topic": "2nd Harbour Magazine programmers conference",
"username": "José Luis Sánchez"
}
] |
2nd Harbour Magazine programmers conference
|
[
{
"date": "2019-03-13",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hello, everybody,\n\nwe have good news for the 2nd Harbour Magazine Programmers Meeting. Antonio Linares and Cristobal Navarro have confirmed their attendance, and Antonio is going to make a practical talk with FiveTouch in Android, showing how to use QT Creator, how to build Harbour, how to test it in the BlueStacks emulator.\n\nFor those of you who are still hesitant to attend, I think it is a great opportunity to meet Antonio Linares and Cristobal Navarro and enjoy their knowledge and company during the meeting.\n\nGreetings,\nJosé Luis Sánchez",
"time": "16:25",
"topic": "2nd Harbour Magazine programmers conference",
"username": "José Luis Sánchez"
}
] |
2nd Harbour Magazine programmers conference
|
[
{
"date": "2019-03-13",
"forum": "FiveWin for Harbour/xHarbour",
"text": "It sounds wonderful but it is not possible for me to attend. Would you consider making a video of the presentations ? I would be especially interested in the one on SQL.",
"time": "18:19",
"topic": "2nd Harbour Magazine programmers conference",
"username": "TimStone"
}
] |
2nd Harbour Magazine programmers conference
|
[
{
"date": "2021-05-03",
"forum": "mod_harbour",
"text": "From skype.com Cristobal\nQuiero anunciar que el próximo día 14 de Mayo, celebrando el 2º aniversario de la aparición de Mod-Harbour ( sería el día 15 ), habrá una conferencia especial en la que estaremos todos, Charly, Antonio, etc. Allí estaremos\n-------------\nI want to announce that next May 14th, celebrating the 2nd anniversary of the appearance of Mod-Harbor (it would be the 15th), there will be a special conference in which we will all be, Charly, Antonio, etc. We'll be there.",
"time": "09:04",
"topic": "2nd anniversary",
"username": "Otto"
}
] |
2nd anniversary
|
[
{
"date": "2021-05-03",
"forum": "FiveWin for Harbour/xHarbour",
"text": "From skype.com Cristobal\nQuiero anunciar que el próximo día 14 de Mayo, celebrando el 2º aniversario de la aparición de Mod-Harbour ( sería el día 15 ), habrá una conferencia especial en la que estaremos todos, Charly, Antonio, etc. Allí estaremos\n-------------\nI want to announce that next May 14th, celebrating the 2nd anniversary of the appearance of Mod-Harbor (it would be the 15th), there will be a special conference in which we will all be, Charly, Antonio, etc. We'll be there.",
"time": "09:05",
"topic": "2nd anniversary",
"username": "Otto"
}
] |
2nd anniversary
|
[
{
"date": "2017-07-20",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Hola,\n\nHoy yo tieno hablado con Antonio y estoy feliz que proxima conferencia internacional sera no Brasil!\n\n<!-- m --><a class=\"postlink\" href=\"https://www.facebook.com/fivewin/\">https://www.facebook.com/fivewin/</a><!-- m -->\n\nEverybody will be welcome!\n\nNo hay fecha y lugar definido pero breve lo teremos.\n\nMuchas gracias Maestro Antonio!\n\nSaludos desde brasil!",
"time": "02:42",
"topic": "2ª conferencia internacional de usuarios de Harbour y FWH",
"username": "Lailton"
}
] |
2ª conferencia internacional de usuarios de Harbour y FWH
|
[
{
"date": "2014-08-28",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hi,\n\n[quote:24vza9gm]\nRe: Converting fron xharbour to harbour\nNew postby Antonio Linares » Fri Aug 22, 2014 1:38 am\n\nSilvio,\n\nAre you using the most recent Harbour from <!-- m --><a class=\"postlink\" href=\"https://bitbucket.org/fivetech/harbour-xharbour-builds\">https://bitbucket.org/fivetech/harbour-xharbour-builds</a><!-- m --> ?\n\nPlease download the most recent Harbour version from there\nregards, saludos\n[/quote:24vza9gm]\n\nIn the file [b:24vza9gm]xharbour_bcc582_20140728.zip[/b:24vza9gm]\n3 libs are missing\n\nACE32.LIB\nHBZIP.LIB\nRDDADS.LIB\n\nCopy them from older version or ?\n\nBest regards,",
"time": "21:16",
"topic": "3 LIBS MISSING in xharbour_bcc582_20140728.zip",
"username": "avista"
}
] |
3 LIBS MISSING in xharbour_bcc582_20140728.zip
|
[
{
"date": "2014-08-29",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Avista,\n\nI think it is no problem, to add these libs from anothe Xharbour dir.\nI had also some problems, after a virus was found and I had to do a complete system-refresh. \nNow it works without any problems.\n\n[color=#0000FF:30211sfb][b:30211sfb]ACE32.LIB ( 67 KIB )\nHBZIP.LIB ( 720 KIB )\nRDDADS.LIB ( 66 KIB )[/b:30211sfb][/color:30211sfb]\n\nbest regards\nUwe <!-- s:lol: --><img src=\"{SMILIES_PATH}/icon_lol.gif\" alt=\":lol:\" title=\"Laughing\" /><!-- s:lol: -->",
"time": "10:36",
"topic": "3 LIBS MISSING in xharbour_bcc582_20140728.zip",
"username": "ukoenig"
}
] |
3 LIBS MISSING in xharbour_bcc582_20140728.zip
|
[
{
"date": "2014-08-29",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Avista,\n\nYes, you can copy them from a previous build,",
"time": "17:19",
"topic": "3 LIBS MISSING in xharbour_bcc582_20140728.zip",
"username": "Antonio Linares"
}
] |
3 LIBS MISSING in xharbour_bcc582_20140728.zip
|
[
{
"date": "2014-08-29",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Thanks,\nBest regards,",
"time": "21:11",
"topic": "3 LIBS MISSING in xharbour_bcc582_20140728.zip",
"username": "avista"
}
] |
3 LIBS MISSING in xharbour_bcc582_20140728.zip
|
[
{
"date": "2017-09-16",
"forum": "FiveWin for Harbour/xHarbour",
"text": "if I have 3 button bmp and I wish press one and this one must be pressed how I can make ?\nand if I press another the buttons are not pressed type like radiobutton how I can make it?",
"time": "07:28",
"topic": "3 button",
"username": "Silvio.Falconi"
}
] |
3 button
|
[
{
"date": "2017-09-16",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Silvio,\n\nmaybe the solution You are looking for ?\nThese buttons are working like radios.\n\n<!-- l --><a class=\"postlink-local\" href=\"http://forums.fivetechsupport.com/viewtopic.php?f=3&t=30161&p=172847&hilit=rbuttons3#p172847\">viewtopic.php?f=3&t=30161&p=172847&hilit=rbuttons3#p172847</a><!-- l -->\n\n[img:2711nxuv]http://www.pflegeplus.com/IMAGES/RBStyles6.jpg[/img:2711nxuv]\n\nregards\nUwe <!-- s:?: --><img src=\"{SMILIES_PATH}/icon_question.gif\" alt=\":?:\" title=\"Question\" /><!-- s:?: -->",
"time": "12:31",
"topic": "3 button",
"username": "ukoenig"
}
] |
3 button
|
[
{
"date": "2013-04-21",
"forum": "FiveWin for Harbour/xHarbour",
"text": "I'm thinking to create 3 levels of categories for a store\n\nLevel 1 : 2 Characters (es. 11)\nLevel 2 : 2 Characters (es. 1122)\nLevel 3 : 4 Characters (es. 11223333)\n\n\nsample :\n\ncCodice:= 01020001 \n\ncDesc := Italian keyboard black\n\nI have some problems to build valid at get when the user insert a new record because the valid function must to control if there is the higher-level of the code he inserted\n\nIsample : if the user insert the code := 01020001 \n\nhe must insert before 01 keyboard, 0102 Italian Keyboard and then he can insert the new category \n\nAny help please to build the valid function",
"time": "17:25",
"topic": "3 levels categories",
"username": "Silvio.Falconi"
}
] |
3 levels categories
|
[
{
"date": "2013-04-21",
"forum": "FiveWin for Harbour/xHarbour",
"text": "You can split the get into 3 gets so you can validate them separately.",
"time": "17:44",
"topic": "3 levels categories",
"username": "ADutheil"
}
] |
3 levels categories
|
[
{
"date": "2013-04-21",
"forum": "FiveWin for Harbour/xHarbour",
"text": "sorry I have allready the dbf, and I must use this (from customer) look this :\n\n[img:12mcvvee]http://img534.imageshack.us/img534/11/catd.png[/img:12mcvvee]",
"time": "18:11",
"topic": "3 levels categories",
"username": "Silvio.Falconi"
}
] |
3 levels categories
|
[
{
"date": "2013-04-21",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Silvio,\n\nHere at the levels we call families of items.\n\nSo you should have your stored configuration in a field the levels of your families of items.\n\nExample:\nIf your levels are 2,2,4 you can store \"020408\"\nTo find that there are higher levels of hierarchy you can use:\n\n[code=fw:31drw0pn]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #00C800;\">FUNCTION</span> lExistLevels<span style=\"color: #000000;\">(</span>cItem<span style=\"color: #000000;\">)</span><br /><span style=\"color: #00C800;\">Local</span> lExist:= .f.<br /><span style=\"color: #00C800;\">Local</span> cLevels:= <span style=\"color: #ff0000;\">\"020408\"</span> <span style=\"color: #B900B9;\">// From config field</span><br /><span style=\"color: #00C800;\">Local</span> nMaxItem:= Val<span style=\"color: #000000;\">(</span><span style=\"color: #0000ff;\">Right</span><span style=\"color: #000000;\">(</span>cLevels, <span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">)</span><span style=\"color: #000000;\">)</span><br /><span style=\"color: #00C800;\">Local</span> nI, nAt:= <span style=\"color: #00C800;\">At</span><span style=\"color: #000000;\">(</span>StrZero<span style=\"color: #000000;\">(</span>Len<span style=\"color: #000000;\">(</span>cItem<span style=\"color: #000000;\">)</span>, <span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">)</span>, cLevels<span style=\"color: #000000;\">)</span>- <span style=\"color: #000000;\">2</span> <br /><span style=\"color: #00C800;\">Local</span> nLevel, cSubItem<br /><span style=\"color: #00C800;\">FOR</span> nI:= <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">TO</span> nAt STEP <span style=\"color: #000000;\">2</span><br /> nLevel:= <span style=\"color: #0000ff;\">SubStr</span><span style=\"color: #000000;\">(</span>cLevels, nI, <span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">)</span><br /> cSubItem:= <span style=\"color: #0000ff;\">Left</span><span style=\"color: #000000;\">(</span>cItem, nLevel<span style=\"color: #000000;\">)</span><br /> <span style=\"color: #0000ff;\">SELECT</span> <span style=\"color: #0000ff;\">Items</span><br /> SEEK PadR<span style=\"color: #000000;\">(</span>cSubItem, nMaxItem<span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">IF</span> Eof<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /> lExist:= .f.<br /> EXIT<br /> <span style=\"color: #00C800;\">ENDIF</span><br /> lExist:= .t.<br /> <br /><span style=\"color: #00C800;\">NEXT</span><br /><span style=\"color: #00C800;\">RETURN</span> lExist<br /> <br />Regards<br /> <br /> </div>[/code:31drw0pn]",
"time": "19:12",
"topic": "3 levels categories",
"username": "Antonio Mart."
}
] |
3 levels categories
|
[
{
"date": "2013-04-21",
"forum": "FiveWin for Harbour/xHarbour",
"text": "perhaps it is that I'm searching... I must make some tests",
"time": "20:27",
"topic": "3 levels categories",
"username": "Silvio.Falconi"
}
] |
3 levels categories
|
[
{
"date": "2013-04-21",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Antonio Mart.,\nthe function can run ok only when I digit a string of 8 Cr the function run ok\nif I digit a string of 6 cr it is bad code I can have only 3 levels\n\nfor sample \naa\naabb\naabbcccc\n\nthe function must return a string aabbcc as right ...",
"time": "21:14",
"topic": "3 levels categories",
"username": "Silvio.Falconi"
}
] |
3 levels categories
|
[
{
"date": "2013-04-22",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Silvio.\nYou can do this:\n\nStatic nLenCode := 8\n\nRedefine get oget var cvar id 4000 of odlg Valid cCodeOk(cvar)\n\nFunction cCodeOK(cVar)\nif !MyCatal->(dbseek(cVar)) .or. len(alltrim(cVar)) != nLenCode\n Stop(\"Bad code inserted\")\n return .f.\nendif\nReturn .t.\n\nThis is only for transactions validations.\nI hope it helps you.\n\nRegards.",
"time": "01:04",
"topic": "3 levels categories",
"username": "FranciscoA"
}
] |
3 levels categories
|
[
{
"date": "2013-04-22",
"forum": "FiveWin for Harbour/xHarbour",
"text": "The DBF does not matter. \n\nget var1 valid ...\nget var2 valid ...\nget var3 valid ...\nread\n\nfield_to_save := var1 +var2 + var3",
"time": "01:30",
"topic": "3 levels categories",
"username": "ADutheil"
}
] |
3 levels categories
|
[
{
"date": "2011-05-27",
"forum": "FiveLinux / FiveDroid (Android)",
"text": "1) Poder justificar los texto de un objeto SAY (derecha, centro, izquierda)\nImplementado:\n* New: Class TSay Method SetJustify( nType ) // LEFT = 0, RIGHT = 1, CENTER = 2, FILL = 3\n* Example: oSay:SetJustify( 1 )\n\n2) Poder cambiar el tipo de letra, color de la letra y fondo de un objeto SAY\n3) Si tengo 3 ventanas abierta al colocar un msgalert() que vuelva a la venta que lo llamano y no a la primera.\n\nNecesito resolver estos 3 problemas, se agradece cualquier ayuda.\n\nJorge Gayoso",
"time": "16:37",
"topic": "3 problemas",
"username": "jgayoso"
}
] |
3 problemas
|
[
{
"date": "2011-06-01",
"forum": "FiveLinux / FiveDroid (Android)",
"text": "Puntos 2 y 3 solucionados y enviadas las nuevas librerias a Jorge <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->",
"time": "09:25",
"topic": "3 problemas",
"username": "Antonio Linares"
}
] |
3 problemas
|
[
{
"date": "2013-02-07",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hello Antonio,\nI have 3 problems with touch.prg sample.\nThanks in advance\nOtto\n[img:bkusxr3z]http://www.atzwanger-software.com/fw/touch3.jpg[/img:bkusxr3z]",
"time": "11:51",
"topic": "3 problems with touch.prg from the fwh/samples",
"username": "Otto"
}
] |
3 problems with touch.prg from the fwh/samples
|
[
{
"date": "2013-02-10",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hello Antonio,\n\nhover effert \n\nI found a workaround for hover effert with inserting DrawEllipse method from an other class to TRBtn.\n\n--------------------\n\nI can't find out how to make operable scrollpanel with finger.\n\n\nHope you can help me.\nThanks in advance \nOtto\n\n//----------------------------------------------------------------------------//\n\n[code=fw:3ocgbqdc]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #00C800;\">METHOD</span> DrawEllipse<span style=\"color: #000000;\">(</span> hDC, nRGBColor, n <span style=\"color: #000000;\">)</span> <span style=\"color: #00C800;\">CLASS</span> TRBtn<br /><br /> <span style=\"color: #00C800;\">local</span> hOldBrush := SelectObject<span style=\"color: #000000;\">(</span> hDC, GetStockObject<span style=\"color: #000000;\">(</span> NULL_BRUSH <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">local</span> hPen := CreatePen<span style=\"color: #000000;\">(</span> hDC, <span style=\"color: #000000;\">1</span>, nRGBColor <span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">DEFAULT</span> n := <span style=\"color: #000000;\">-1</span><br /><br /> Ellipse<span style=\"color: #000000;\">(</span> hDC, n, n, ::<span style=\"color: #000000;\">nWidth</span> - <span style=\"color: #000000;\">1</span> , ::<span style=\"color: #000000;\">nHeight</span> - <span style=\"color: #000000;\">1</span> , hPen <span style=\"color: #000000;\">)</span><br /><br /> SelectObject<span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">hDC</span>, hOldBrush <span style=\"color: #000000;\">)</span><br /> DeleteObject<span style=\"color: #000000;\">(</span> hPen <span style=\"color: #000000;\">)</span><br /><br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span><br /><br /><span style=\"color: #B900B9;\">//----------------------------------------------------------------------------//</span></div>[/code:3ocgbqdc]",
"time": "12:29",
"topic": "3 problems with touch.prg from the fwh/samples",
"username": "Otto"
}
] |
3 problems with touch.prg from the fwh/samples
|
[
{
"date": "2013-02-10",
"forum": "FiveWin for Harbour/xHarbour",
"text": "I found a workaround.\nIn TScrollPanel I inserted:\n\n[code=fw:lg3esiwy]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #00C800;\">METHOD</span> finger<span style=\"color: #000000;\">(</span>x<span style=\"color: #000000;\">)</span> <span style=\"color: #00C800;\">CLASS</span> TScrollPanel<br /> ::<span style=\"color: #000000;\">GoToPos</span><span style=\"color: #000000;\">(</span> x <span style=\"color: #000000;\">)</span><br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span><br /><span style=\"color: #B900B9;\">//----------------------------------------------------------------------------//</span><br /> </div>[/code:lg3esiwy]\n\nand when I define oPanel\n[code=fw:lg3esiwy]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />oPanel:<span style=\"color: #000000;\">bLClicked</span> := <span style=\"color: #000000;\">{</span> || oPanel:<span style=\"color: #000000;\">SetFocus</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span>,lSlider := .t. <span style=\"color: #000000;\">}</span><br />oPanel:<span style=\"color: #000000;\">bLButtonUp</span> := <span style=\"color: #000000;\">{</span> |r,c,f,lDrag | lSlider := .f. <span style=\"color: #000000;\">}</span><br />oPanel:<span style=\"color: #000000;\">bMMoved</span> := <span style=\"color: #000000;\">{</span> |r,c,f,lDrag| <span style=\"color: #00C800;\">if</span><span style=\"color: #000000;\">(</span> lSlider = .t. , oPanel:<span style=\"color: #000000;\">finger</span><span style=\"color: #000000;\">(</span>r<span style=\"color: #000000;\">)</span>, <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span></div>[/code:lg3esiwy]\nBest regards,\nOtto",
"time": "21:10",
"topic": "3 problems with touch.prg from the fwh/samples",
"username": "Otto"
}
] |
3 problems with touch.prg from the fwh/samples
|
[
{
"date": "2013-02-10",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hello Antonio,\nThe only problem left is focus on SWITCH.\n\nBest regards,\nOtto",
"time": "21:14",
"topic": "3 problems with touch.prg from the fwh/samples",
"username": "Otto"
}
] |
3 problems with touch.prg from the fwh/samples
|
[
{
"date": "2013-02-11",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Otto,\n\nThe back arrow that we show there is a TImage object. As TImage inherits from TBitmap, then we could do:\n\noImgBack:bMove = { || If( oImgBack;cBmpFile != \"..\\bitmaps\\metro\\back-black-48-hover.png\", ( oImgBack:LoadImage( nil, \"..\\bitmaps\\metro\\back-black-48-hover.png\" ), oImgBack:Refresh() ), nil ) }\noImgBack:bMLeave = { || oImgBack:LoadImage( nil, \"..\\bitmaps\\metro\\back-black-48.png\" ), oImgBack:Refresh() }",
"time": "16:52",
"topic": "3 problems with touch.prg from the fwh/samples",
"username": "Antonio Linares"
}
] |
3 problems with touch.prg from the fwh/samples
|
[
{
"date": "2013-02-11",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Otto,\n\nI just tested samples/touch.prg and the switches seem to get the focus though they don't change their appareance.\n\nPlease give the focus to the GET above the switch and press tab. If you press tabs two times more, then the GET below gets the focus. So the focus sequence is working fine <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->",
"time": "17:14",
"topic": "3 problems with touch.prg from the fwh/samples",
"username": "Antonio Linares"
}
] |
3 problems with touch.prg from the fwh/samples
|
[
{
"date": "2018-10-28",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Dear Antonio\ncan you please help me with\n\toImgBack:bMLeave = { || oImgBack:LoadImage( nil, \"..\\bitmaps\\metro\\back-black-48.png\" ), oImgBack:Refresh(), msginfo(1) }.\n\nI tried your suggestions but oImgBack:bMLeave here is not working.\n\nThank you in Advance\n\nOtto\n\n\n\n\n @ 20, 20 IMAGE oImgBack FILENAME \"..\\bitmaps\\metro\\back-black-48.png\" OF oDlg ;\n PIXEL NOBORDER\n\t\n\t\n\toImgBack:bMMoved = { || If( oImgBack:cBmpFile != \"..\\bitmaps\\metro\\Metro-Back-48hover.bmp\",;\n\t( oImgBack:LoadImage( nil, \"..\\bitmaps\\metro\\Metro-Back-48hover.bmp\" ), oImgBack:Refresh() ), nil ) }\n\t\n\t\n\toImgBack:bMLeave = { || oImgBack:LoadImage( nil, \"..\\bitmaps\\metro\\back-black-48.png\" ), oImgBack:Refresh(), msginfo(1) }\n\n oImgBack:bLButtonUp := { || oDlg:End() }",
"time": "18:39",
"topic": "3 problems with touch.prg from the fwh/samples",
"username": "Otto"
}
] |
3 problems with touch.prg from the fwh/samples
|
[
{
"date": "2018-10-29",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Otto,\n\nPlease test this and let me know if it beeps:\n\noImgBack:bMLeave = { || MsgBeep() }",
"time": "08:46",
"topic": "3 problems with touch.prg from the fwh/samples",
"username": "Antonio Linares"
}
] |
3 problems with touch.prg from the fwh/samples
|
[
{
"date": "2018-10-29",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Dear Antonio,\n\nI changed bMove to bMMoved as bMove errors out.\nI can’t test with msgbeep as I work remote.\nTherefor I use:\n\n\toImgBack:bMLeave = { || msginfo(1) }\n\nI do not see the msg.\nI use the original touch.prg of FiveTech.\nThank you and best regards\nOtto",
"time": "09:15",
"topic": "3 problems with touch.prg from the fwh/samples",
"username": "Otto"
}
] |
3 problems with touch.prg from the fwh/samples
|
[
{
"date": "2018-11-01",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Dear Antonio,\ncan you please help me.\nThank you in advance\nOtto",
"time": "23:55",
"topic": "3 problems with touch.prg from the fwh/samples",
"username": "Otto"
}
] |
3 problems with touch.prg from the fwh/samples
|
[
{
"date": "2018-11-03",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Otto,\n\nPlease try this:\n\noImgBack:bMLeave = { || x++ } // to generate a runtime error\n\nlets see if the runtime error is generated",
"time": "13:36",
"topic": "3 problems with touch.prg from the fwh/samples",
"username": "Antonio Linares"
}
] |
3 problems with touch.prg from the fwh/samples
|
[
{
"date": "2018-11-03",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Dear Antonio,\nno runtime error.\nI use the original Fivewin touch.prg from the samples.\nThank you an best regards\nOtto",
"time": "22:20",
"topic": "3 problems with touch.prg from the fwh/samples",
"username": "Otto"
}
] |
3 problems with touch.prg from the fwh/samples
|
[
{
"date": "2018-11-05",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Dear Otto,\n\nThis is working fine here:\n\n oImgBack:bMLeave = { || MsgInfo( 1 ) }\n\nso I guess it is related to remotely working",
"time": "19:59",
"topic": "3 problems with touch.prg from the fwh/samples",
"username": "Antonio Linares"
}
] |
3 problems with touch.prg from the fwh/samples
|
[
{
"date": "2018-11-07",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Dear Antonio,\nthank you.\nCan you please send me your prg and exe file.\nI will test remote and on my local system.\nMaybe I do not have all the latest classes\nBest regards\nOtto",
"time": "00:15",
"topic": "3 problems with touch.prg from the fwh/samples",
"username": "Otto"
}
] |
3 problems with touch.prg from the fwh/samples
|
[
{
"date": "2018-11-07",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Dear Otto,\n\nHere you have it:\n[url:28n7t0by]https://github.com/FiveTechSoft/FWH_samples/raw/master/touch.zip[/url:28n7t0by]",
"time": "11:03",
"topic": "3 problems with touch.prg from the fwh/samples",
"username": "Antonio Linares"
}
] |
3 problems with touch.prg from the fwh/samples
|
[
{
"date": "2018-11-08",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Dear Antonio,\nis this the right place where I should test.\nIf yes then it is not working. I tested remote and locally.\n\nDo you thinkthere will be a solution? \nThank you in advance\nOtto\n[img:1n9d8grv]https://mybergland.com/FWForum/antonio.jpg[/img:1n9d8grv]\n\n[img:1n9d8grv]https://mybergland.com/FWForum/antonio1.jpg[/img:1n9d8grv]",
"time": "08:32",
"topic": "3 problems with touch.prg from the fwh/samples",
"username": "Otto"
}
] |
3 problems with touch.prg from the fwh/samples
|
[
{
"date": "2018-11-08",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Dear Antonio\nI use TRBtn as I never got TImage working.\nIn my copy of TRBtn I inserted DrawEllipse method and changed Paint method. \nThis is working for me. But now I want to switch to the newest FIVEWIN version and original FW classes evolved much.\nIt is difficult for me to keep up my changes.\n\nBest regards\nOtto\n\n\nmethod paint\n...\n\n if ::lMOver .and. nTypeButton != 3\n \n do case\n case nTypeButton == TYPE_NORMAL\n\n if ::lSelected\n GradientFill( ::hDC, 1, 1, ::nHeight, ::nWidth - If(::lRound,2,0), eval( ::bClrGradSelectPress, ::lPressed ) ) \n else\n \t\t\t//procl \n \t\t\tif ::lRound = .t.\n \t\t\t\tGradientFill( ::hDC, 1, 1, ::nHeight, ::nWidth - If(::lRound,2,0), eval( ::bClrGradNormal, ::lPressed ) ) \n \telse\n \n \t\t::DrawEllipse( ::hDC, CLR_BLUE, 1 ) \n\t\t\t\t\tendif \n endif\n\n case nTypeButton == TYPE_POPUP\n GradientFill( ::hDC, 1,1, ::nHeight, ::nWidth - 2, ::aClrGradBack )\n\n\n...\n\n\n//----------------------------------------------------------------------------//\n\nMETHOD DrawEllipse( hDC, nRGBColor, n ) CLASS TRBtn\n\n local hOldBrush := SelectObject( hDC, GetStockObject( NULL_BRUSH ) )\n local hPen := CreatePen( hDC, 1, nRGBColor )\n\n DEFAULT n := -1\n\n \tEllipse( hDC, n, n, ::nWidth - 1 , ::nHeight - 1 , hPen )\n\n SelectObject( ::hDC, hOldBrush )\n DeleteObject( hPen )\n\nreturn nil\n\n//----------------------------------------------------------------------------//",
"time": "08:57",
"topic": "3 problems with touch.prg from the fwh/samples",
"username": "Otto"
}
] |
3 problems with touch.prg from the fwh/samples
|
[
{
"date": "2018-11-09",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Dear Otto,\n\nPlease go to \"Company\", then click on \"+\" and then test it\n\nthanks\n\n[img:1zihyxf9]https://fivetechsoft.github.io/screenshots/touch_hover.JPG[/img:1zihyxf9]",
"time": "17:01",
"topic": "3 problems with touch.prg from the fwh/samples",
"username": "Antonio Linares"
}
] |
3 problems with touch.prg from the fwh/samples
|
[
{
"date": "2018-11-10",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Dear Antonio,\nyou sample works but you have no hover bitmap.\nAlso you have to move the mouse more than 2 cm away till MsgInfo is executed.\n\nIf we add \noImgBack:bMMoved = { || If( oImgBack:cBmpFile != \"..\\bitmaps\\metro\\Metro-Back-48hover.bmp\",;\n\t ( oImgBack:LoadImage( nil, \"..\\bitmaps\\metro\\Metro-Back-48hover.bmp\" ), oImgBack:Refresh() ), nil ) }\n\nthen oImgBack:bMLeave = { || MsgInfo( 1 ) in no more working.\n\nThank you in advance \nOtto",
"time": "00:27",
"topic": "3 problems with touch.prg from the fwh/samples",
"username": "Otto"
}
] |
3 problems with touch.prg from the fwh/samples
|
[
{
"date": "2022-03-24",
"forum": "FiveWin for Harbour/xHarbour",
"text": "I need to do a 3 state btnbmp but I can't do it\nin the beginning the state is free (3 no pressed)\nstate n. 1 taken\nstate n. 2 fixes\nstate 3 free\nwhen a user presses the first time the status is 1, if they press the second time the status is 2, if they click for the third time the status returns to 3\nhow can I do ?\n\nI try to make a test but not run ok , someone can help me pls ?\n\n\n[code=fw:1u75i9iz]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><br /><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"fivewin.ch\"</span><br /><span style=\"color: #00D7D7;\">#define</span> DARKORANGE2 nRGB<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">247</span>, <span style=\"color: #000000;\">192</span>, <span style=\"color: #000000;\">91</span> <span style=\"color: #000000;\">)</span><br /><span style=\"color: #00D7D7;\">#define</span> LIGHTBLUE nRGB<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">89</span>, <span style=\"color: #000000;\">135</span>, <span style=\"color: #000000;\">214</span> <span style=\"color: #000000;\">)</span><br /><br /><br /><span style=\"color: #00C800;\">Function</span> test<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><span style=\"color: #00C800;\">local</span> nTotCol := <span style=\"color: #000000;\">2</span><br /><span style=\"color: #00C800;\">local</span> nTotRow := <span style=\"color: #000000;\">2</span><br /><span style=\"color: #00C800;\">local</span> oBtnNum := Array<span style=\"color: #000000;\">(</span> nTotRow * nTotCol <span style=\"color: #000000;\">)</span><br /><span style=\"color: #00C800;\">local</span> oSay<br /><span style=\"color: #00C800;\">local</span> xRow:=<span style=\"color: #000000;\">25</span><br /><span style=\"color: #00C800;\">local</span> xCol:=<span style=\"color: #000000;\">40</span><br /><span style=\"color: #00C800;\">local</span> xWidth:= <span style=\"color: #000000;\">40</span><br /><span style=\"color: #00C800;\">local</span> xHeight:= <span style=\"color: #000000;\">30</span><br /><span style=\"color: #00C800;\">local</span> xSpace := <span style=\"color: #000000;\">2</span><br /><span style=\"color: #00C800;\">local</span> k,t,nMaxVal:=<span style=\"color: #000000;\">4</span><br /><br /><span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">200</span>,<span style=\"color: #000000;\">100</span> <span style=\"color: #0000ff;\">PIXEL</span> TRUEPIXEL RESIZABLE<br /> @ <span style=\"color: #000000;\">10</span>,<span style=\"color: #000000;\">10</span> <span style=\"color: #0000ff;\">SAY</span> oSay <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"0 selezionati\"</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">100</span>,<span style=\"color: #000000;\">20</span> <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #0000ff;\">OF</span> oDlg TRANSPARENT<br /><br /> <span style=\"color: #00C800;\">For</span> t=<span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">to</span> nTotRow<br /> <span style=\"color: #00C800;\">For</span> k=<span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">to</span> nTotCol<br /> nPos := nTotCol * <span style=\"color: #000000;\">(</span> t - <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">)</span> + k<br /> @ xRow, xCol <span style=\"color: #0000ff;\">BTNBMP</span> oBtnNum<span style=\"color: #000000;\">[</span> nPos <span style=\"color: #000000;\">]</span> <span style=\"color: #0000ff;\">PROMPT</span> alltrim<span style=\"color: #000000;\">(</span>str<span style=\"color: #000000;\">(</span> nPos, <span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">)</span><span style=\"color: #000000;\">)</span> ;<br /> <span style=\"color: #0000ff;\">SIZE</span> xWidth,xHeight <span style=\"color: #0000ff;\">PIXEL</span> FLAT <span style=\"color: #0000ff;\">OF</span> oDlg<br /><br /> oBtnNum<span style=\"color: #000000;\">[</span>nPos<span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">cargo</span>:=<span style=\"color: #000000;\">{</span>.f.,.f.,.f.<span style=\"color: #000000;\">}</span><br /> oBtnNum<span style=\"color: #000000;\">[</span>nPos<span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">bAction</span> := BtnAction<span style=\"color: #000000;\">(</span> k, t, nTotCol, nTotRow, oBtnNum, nMaxVal,oSay <span style=\"color: #000000;\">)</span><br /><br /><br /> xCol += xWidth + xSpace<br /> <span style=\"color: #00C800;\">next</span><br /> xRow += xHeight + xSpace<br /> xCol := <span style=\"color: #000000;\">40</span><br /> <span style=\"color: #00C800;\">next</span><br /><br /><br /> <span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDLG<br /> <span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span><br /> <span style=\"color: #B900B9;\">//----------------------------------------------------------------------//</span><br /><span style=\"color: #00C800;\">Function</span> BtnAction<span style=\"color: #000000;\">(</span> x, y, nTotCol, nTotRow, aBtn, aSay, nMaxVal,oSay<span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">return</span> <span style=\"color: #000000;\">{</span> | oSelf | CheckStatus<span style=\"color: #000000;\">(</span> oSelf, x, y, nTotCol, nTotRow, aBtn, aSay, nMaxVal,oSay <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span><br /><span style=\"color: #B900B9;\">//-------------------------------------------------------------------------//</span><br /><span style=\"color: #00C800;\">Function</span> CheckStatus<span style=\"color: #000000;\">(</span> oSelf, x, y, nTotCol, nTotRow, aBtn, aSay, nMaxVal,oSay <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">local</span> nCount := <span style=\"color: #000000;\">0</span><br /> <span style=\"color: #00C800;\">local</span> j<br /><br /><br /><br /> ? oSelf:<span style=\"color: #000000;\">lpressed</span><br /><br /> <span style=\"color: #00C800;\">if</span> oSelf:<span style=\"color: #000000;\">lpressed</span><br /> oSelf:<span style=\"color: #000000;\">lpressed</span> := .f.<br /> oSelf:<span style=\"color: #000000;\">cargo</span><span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">]</span>:=.t.<br /> oSelf:<span style=\"color: #000000;\">bClrGrad</span> = <span style=\"color: #000000;\">{</span> | lInvert | <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">(</span> ! lInvert,;<br /> <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">1</span>, RGB<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">255</span>, <span style=\"color: #000000;\">255</span>, <span style=\"color: #000000;\">255</span> <span style=\"color: #000000;\">)</span>, RGB<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">229</span>, <span style=\"color: #000000;\">233</span>, <span style=\"color: #000000;\">238</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">}</span>,;<br /> <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">1</span>/<span style=\"color: #000000;\">2</span>, RGB<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">242</span>, <span style=\"color: #000000;\">244</span>, <span style=\"color: #000000;\">246</span> <span style=\"color: #000000;\">)</span>, RGB<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">145</span>, <span style=\"color: #000000;\">201</span>, <span style=\"color: #000000;\">247</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span>,;<br /> <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">1</span>/<span style=\"color: #000000;\">2</span>, RGB<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">145</span>, <span style=\"color: #000000;\">201</span>, <span style=\"color: #000000;\">247</span> <span style=\"color: #000000;\">)</span>, RGB<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">242</span>, <span style=\"color: #000000;\">244</span>, <span style=\"color: #000000;\">246</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span><br /> <span style=\"color: #00C800;\">else</span><br /> * oSelf:<span style=\"color: #000000;\">lpressed</span> := .t.<br /> oSelf:<span style=\"color: #000000;\">cargo</span><span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">]</span>:=.t.<br /> oSelf:<span style=\"color: #000000;\">bClrGrad</span> = <span style=\"color: #000000;\">{</span> | lInvert | <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">(</span> ! lInvert,;<br /> <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">1</span>, DARKORANGE2, DARKORANGE2 <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">}</span>,;<br /> <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">1</span>, DARKORANGE2, DARKORANGE2 <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span><br /><br /><br /> * oSelf:<span style=\"color: #000000;\">cargo</span><span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">3</span><span style=\"color: #000000;\">]</span>:=.t.<br /><br /> <span style=\"color: #00C800;\">endif</span><br /><br /> oSelf:<span style=\"color: #0000ff;\">refresh</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> ? oSelf:<span style=\"color: #000000;\">lpressed</span><br /> xbrowser oSelf:<span style=\"color: #000000;\">cargo</span><br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span><br /><span style=\"color: #B900B9;\">//------------------------------------------------------------------------------//</span><br /><br /><br /><br /> </div>[/code:1u75i9iz]",
"time": "10:27",
"topic": "3 state btnbmp",
"username": "Silvio.Falconi"
}
] |
3 state btnbmp
|
[
{
"date": "2022-03-24",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Algo asi?\n\n[code=fw:y4rk7cz8]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><br /><span style=\"color: #B900B9;\">// \\samples\\BTNPRES3.PRG</span><br /><br /><span style=\"color: #00D7D7;\">#Include</span> <span style=\"color: #ff0000;\">\"Fivewin.ch\"</span><br /><br /><span style=\"color: #00D7D7;\">#Define</span> DARKORANGE2 nRGB<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">247</span>, <span style=\"color: #000000;\">192</span>, <span style=\"color: #000000;\">91</span> <span style=\"color: #000000;\">)</span><br /><span style=\"color: #00D7D7;\">#Define</span> LIGHTBLUE nRGB<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">89</span>, <span style=\"color: #000000;\">135</span>, <span style=\"color: #000000;\">214</span> <span style=\"color: #000000;\">)</span><br /><br />MEMVAR nVeces<br /><br /><span style=\"color: #00C800;\">FUNCTION</span> test<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">LOCAL</span> nPos, oDlg, oFnt, oFont, K, T, oSay, cPrompt, oExit<br /> <span style=\"color: #00C800;\">LOCAL</span> nTotCol := <span style=\"color: #000000;\">2</span><br /> <span style=\"color: #00C800;\">LOCAL</span> nTotRow := <span style=\"color: #000000;\">2</span><br /> <span style=\"color: #00C800;\">LOCAL</span> nMaxVal := <span style=\"color: #000000;\">4</span><br /> <span style=\"color: #00C800;\">LOCAL</span> oBtnNum := Array<span style=\"color: #000000;\">(</span> nTotRow * nTotCol <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">LOCAL</span> xRow := <span style=\"color: #000000;\">25</span><br /> <span style=\"color: #00C800;\">LOCAL</span> xCol := <span style=\"color: #000000;\">40</span><br /> <span style=\"color: #00C800;\">LOCAL</span> xWidth := <span style=\"color: #000000;\">40</span><br /> <span style=\"color: #00C800;\">LOCAL</span> xHeight := <span style=\"color: #000000;\">30</span><br /> <span style=\"color: #00C800;\">LOCAL</span> xSpace := <span style=\"color: #000000;\">2</span><br /><br /> nVeces := <span style=\"color: #000000;\">1</span><br /> cPrompt := <span style=\"color: #ff0000;\">\"Selezionati \"</span><br /><br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">FONT</span> oFnt <span style=\"color: #0000ff;\">NAME</span> <span style=\"color: #ff0000;\">\"Ms Sans Serif\"</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">-12</span> BOLD<br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">FONT</span> oFont <span style=\"color: #0000ff;\">NAME</span> <span style=\"color: #ff0000;\">\"Ms Sans Serif\"</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">-14</span> BOLD<br /><br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">200</span>, <span style=\"color: #000000;\">100</span> <span style=\"color: #0000ff;\">PIXEL</span> TRUEPIXEL RESIZABLE ;<br /> COLORS LIGHTBLUE, CLR_WHITE TRANSPARENT<br /><br /> oDlg:<span style=\"color: #000000;\">lHelpIcon</span> := .F.<br /><br /> @ <span style=\"color: #000000;\">9.0</span>, <span style=\"color: #000000;\">10</span> <span style=\"color: #0000ff;\">SAY</span> oSay <span style=\"color: #0000ff;\">PROMPT</span> cPrompt <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">120</span>, <span style=\"color: #000000;\">20</span> <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #0000ff;\">OF</span> oDlg ;<br /> COLORS DARKORANGE2, CLR_WHITE TRANSPARENT <span style=\"color: #0000ff;\">FONT</span> oFont<br /><br /> <span style=\"color: #00C800;\">FOR</span> T = <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">TO</span> nTotRow<br /><br /> <span style=\"color: #00C800;\">FOR</span> K = <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">TO</span> nTotCol<br /><br /> nPos := nTotCol * <span style=\"color: #000000;\">(</span> t - <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">)</span> + k<br /><br /> @ xRow, xCol <span style=\"color: #0000ff;\">BTNBMP</span> oBtnNum<span style=\"color: #000000;\">[</span> nPos <span style=\"color: #000000;\">]</span> <span style=\"color: #0000ff;\">SIZE</span> xWidth, xHeight ;<br /> <span style=\"color: #0000ff;\">PIXEL</span> FLAT <span style=\"color: #0000ff;\">OF</span> oDlg <span style=\"color: #0000ff;\">PROMPT</span> AllTrim<span style=\"color: #000000;\">(</span> Str<span style=\"color: #000000;\">(</span> nPos, <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span> ;<br /> <span style=\"color: #0000ff;\">ACTION</span><span style=\"color: #000000;\">(</span> VERIFY_NUMBERX_BTN<span style=\"color: #000000;\">(</span> oBtnNum, oDlg, oSay <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span><br /><br /> oBtnNum<span style=\"color: #000000;\">[</span> nPos <span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">bClrGrad</span> = <span style=\"color: #000000;\">{</span>| lInvert | <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">(</span> ! lInvert, ;<br /> <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">1</span>, RGB<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">255</span>, <span style=\"color: #000000;\">255</span>, <span style=\"color: #000000;\">255</span> <span style=\"color: #000000;\">)</span>, RGB<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">229</span>, <span style=\"color: #000000;\">233</span>, <span style=\"color: #000000;\">238</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">}</span>, ;<br /> <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">1</span> / <span style=\"color: #000000;\">2</span>, RGB<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">242</span>, <span style=\"color: #000000;\">244</span>, <span style=\"color: #000000;\">246</span> <span style=\"color: #000000;\">)</span>, RGB<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">145</span>, <span style=\"color: #000000;\">201</span>, <span style=\"color: #000000;\">247</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span>, ;<br /> <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">1</span> / <span style=\"color: #000000;\">2</span>, RGB<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">145</span>, <span style=\"color: #000000;\">201</span>, <span style=\"color: #000000;\">247</span> <span style=\"color: #000000;\">)</span>, RGB<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">242</span>, <span style=\"color: #000000;\">244</span>, <span style=\"color: #000000;\">246</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span><br /><br /> oBtnNum<span style=\"color: #000000;\">[</span> nPos <span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">Cargo</span> := <span style=\"color: #000000;\">{</span> .F., .F., .F. <span style=\"color: #000000;\">}</span><br /><br /> xCol += xWidth + xSpace<br /><br /> <span style=\"color: #00C800;\">NEXT</span><br /><br /> xRow += xHeight + xSpace<br /><br /> xCol := <span style=\"color: #000000;\">40</span><br /><br /> <span style=\"color: #00C800;\">NEXT</span><br /><br /> @ <span style=\"color: #000000;\">44</span>, <span style=\"color: #000000;\">150</span> <span style=\"color: #0000ff;\">BUTTON</span> oExit <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"&Ok\"</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">40</span>, <span style=\"color: #000000;\">20</span> <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #0000ff;\">OF</span> oDlg ;<br /> <span style=\"color: #0000ff;\">ACTION</span><span style=\"color: #000000;\">(</span> oDlg:<span style=\"color: #000000;\">End</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span> CANCEL<br /><br /> <span style=\"color: #B900B9;\">// SET FONT OF oBtnNum[ nPos ] TO oFnt</span><br /> SET <span style=\"color: #0000ff;\">FONT</span> <span style=\"color: #0000ff;\">OF</span> oExit <span style=\"color: #0000ff;\">TO</span> oFont<br /><br /> <span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <span style=\"color: #0000ff;\">CENTERED</span><br /><br /> oFnt:<span style=\"color: #000000;\">End</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /> oFont:<span style=\"color: #000000;\">End</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /><span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">NIL</span><br /><br /><span style=\"color: #00C800;\">FUNCTION</span> VERIFY_NUMBERX_BTN<span style=\"color: #000000;\">(</span> oBtnNum, oDlg, oSay <span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">LOCAL</span> cTextSay := SPACE<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">20</span><span style=\"color: #000000;\">)</span> <span style=\"color: #B900B9;\">// cPrompt</span><br /><br /> <span style=\"color: #00C800;\">IF</span> nVeces = <span style=\"color: #000000;\">1</span><br /><br /> nVeces := nVeces + <span style=\"color: #000000;\">1</span><br /><br /> oBtnNum<span style=\"color: #000000;\">[</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">Disable</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /> oBtnNum<span style=\"color: #000000;\">[</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">]</span>:<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> cTextSay := <span style=\"color: #ff0000;\">\"I am Taken\"</span><br /><br /> oSay:<span style=\"color: #000000;\">VARPUT</span><span style=\"color: #000000;\">(</span> cTextSay <span style=\"color: #000000;\">)</span><br /> oSay:<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> Taken<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> ELSEIF nVeces = <span style=\"color: #000000;\">2</span><br /><br /> nVeces := nVeces + <span style=\"color: #000000;\">1</span><br /><br /> oBtnNum<span style=\"color: #000000;\">[</span> <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">Disable</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /> oBtnNum<span style=\"color: #000000;\">[</span> <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">]</span>:<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> cTextSay := <span style=\"color: #ff0000;\">\"I am Fixes\"</span><br /><br /> oSay:<span style=\"color: #000000;\">VARPUT</span><span style=\"color: #000000;\">(</span> cTextSay <span style=\"color: #000000;\">)</span><br /> oSay:<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> Fixes<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> ELSEIF nVeces = <span style=\"color: #000000;\">3</span><br /><br /> nVeces := nVeces + <span style=\"color: #000000;\">1</span><br /><br /> oBtnNum<span style=\"color: #000000;\">[</span> <span style=\"color: #000000;\">3</span> <span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">Disable</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /> oBtnNum<span style=\"color: #000000;\">[</span> <span style=\"color: #000000;\">3</span> <span style=\"color: #000000;\">]</span>:<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> cTextSay := <span style=\"color: #ff0000;\">\"I am Free.\"</span><br /><br /> oSay:<span style=\"color: #000000;\">VARPUT</span><span style=\"color: #000000;\">(</span> cTextSay <span style=\"color: #000000;\">)</span><br /> oSay:<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> Free<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> ELSEIF nVeces = <span style=\"color: #000000;\">4</span><br /><br /> nVeces = <span style=\"color: #000000;\">1</span><br /><br /> <span style=\"color: #B900B9;\">// oDlg:End()</span><br /><br /> cTextSay := <span style=\"color: #ff0000;\">\"Yo Soy Silvio\"</span><br /><br /> oSay:<span style=\"color: #000000;\">VARPUT</span><span style=\"color: #000000;\">(</span> cTextSay <span style=\"color: #000000;\">)</span><br /> oSay:<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> oBtnNum<span style=\"color: #000000;\">[</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">Enable</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /> oBtnNum<span style=\"color: #000000;\">[</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">]</span>:<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> oBtnNum<span style=\"color: #000000;\">[</span> <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">Enable</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /> oBtnNum<span style=\"color: #000000;\">[</span> <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">]</span>:<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> oBtnNum<span style=\"color: #000000;\">[</span> <span style=\"color: #000000;\">3</span> <span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">Enable</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /> oBtnNum<span style=\"color: #000000;\">[</span> <span style=\"color: #000000;\">3</span> <span style=\"color: #000000;\">]</span>:<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">ENDIF</span><br /><br /><span style=\"color: #00C800;\">RETURN</span><span style=\"color: #000000;\">(</span> .T. <span style=\"color: #000000;\">)</span><br /><br /><span style=\"color: #00C800;\">FUNCTION</span> Taken<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> <span style=\"color: #B900B9;\">// tomada</span><br /><br /> ? <span style=\"color: #ff0000;\">\"Taken?\"</span><br /><br /><span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">NIL</span><br /><br /><span style=\"color: #00C800;\">FUNCTION</span> Fixes<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> <span style=\"color: #B900B9;\">// correções</span><br /><br /> ? <span style=\"color: #ff0000;\">\"Fixes?\"</span><br /><br /><span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">NIL</span><br /><br /><span style=\"color: #00C800;\">FUNCTION</span> Free<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> <span style=\"color: #B900B9;\">// Grátis/Livre</span><br /><br /> ? <span style=\"color: #ff0000;\">\"Free?\"</span><br /><br /><span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">NIL</span><br /><br /><span style=\"color: #B900B9;\">// END / FIN</span><br /> </div>[/code:y4rk7cz8]",
"time": "12:55",
"topic": "3 state btnbmp",
"username": "karinha"
}
] |
3 state btnbmp
|
[
{
"date": "2022-03-24",
"forum": "FiveWin for Harbour/xHarbour",
"text": "[quote=\"karinha\":9lrei53n]Algo asi?\n\n[code=fw:9lrei53n]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><br /><span style=\"color: #B900B9;\">// \\samples\\BTNPRES3.PRG</span><br /><br /><span style=\"color: #00D7D7;\">#Include</span> <span style=\"color: #ff0000;\">\"Fivewin.ch\"</span><br /><br /><span style=\"color: #00D7D7;\">#Define</span> DARKORANGE2 nRGB<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">247</span>, <span style=\"color: #000000;\">192</span>, <span style=\"color: #000000;\">91</span> <span style=\"color: #000000;\">)</span><br /><span style=\"color: #00D7D7;\">#Define</span> LIGHTBLUE nRGB<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">89</span>, <span style=\"color: #000000;\">135</span>, <span style=\"color: #000000;\">214</span> <span style=\"color: #000000;\">)</span><br /><br />MEMVAR nVeces<br /><br /><span style=\"color: #00C800;\">FUNCTION</span> test<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">LOCAL</span> nPos, oDlg, oFnt, oFont, K, T, oSay, cPrompt, oExit<br /> <span style=\"color: #00C800;\">LOCAL</span> nTotCol := <span style=\"color: #000000;\">2</span><br /> <span style=\"color: #00C800;\">LOCAL</span> nTotRow := <span style=\"color: #000000;\">2</span><br /> <span style=\"color: #00C800;\">LOCAL</span> nMaxVal := <span style=\"color: #000000;\">4</span><br /> <span style=\"color: #00C800;\">LOCAL</span> oBtnNum := Array<span style=\"color: #000000;\">(</span> nTotRow * nTotCol <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">LOCAL</span> xRow := <span style=\"color: #000000;\">25</span><br /> <span style=\"color: #00C800;\">LOCAL</span> xCol := <span style=\"color: #000000;\">40</span><br /> <span style=\"color: #00C800;\">LOCAL</span> xWidth := <span style=\"color: #000000;\">40</span><br /> <span style=\"color: #00C800;\">LOCAL</span> xHeight := <span style=\"color: #000000;\">30</span><br /> <span style=\"color: #00C800;\">LOCAL</span> xSpace := <span style=\"color: #000000;\">2</span><br /><br /> nVeces := <span style=\"color: #000000;\">1</span><br /> cPrompt := <span style=\"color: #ff0000;\">\"Selezionati \"</span><br /><br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">FONT</span> oFnt <span style=\"color: #0000ff;\">NAME</span> <span style=\"color: #ff0000;\">\"Ms Sans Serif\"</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">-12</span> BOLD<br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">FONT</span> oFont <span style=\"color: #0000ff;\">NAME</span> <span style=\"color: #ff0000;\">\"Ms Sans Serif\"</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">-14</span> BOLD<br /><br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">200</span>, <span style=\"color: #000000;\">100</span> <span style=\"color: #0000ff;\">PIXEL</span> TRUEPIXEL RESIZABLE ;<br /> COLORS LIGHTBLUE, CLR_WHITE TRANSPARENT<br /><br /> oDlg:<span style=\"color: #000000;\">lHelpIcon</span> := .F.<br /><br /> @ <span style=\"color: #000000;\">9.0</span>, <span style=\"color: #000000;\">10</span> <span style=\"color: #0000ff;\">SAY</span> oSay <span style=\"color: #0000ff;\">PROMPT</span> cPrompt <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">120</span>, <span style=\"color: #000000;\">20</span> <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #0000ff;\">OF</span> oDlg ;<br /> COLORS DARKORANGE2, CLR_WHITE TRANSPARENT <span style=\"color: #0000ff;\">FONT</span> oFont<br /><br /> <span style=\"color: #00C800;\">FOR</span> T = <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">TO</span> nTotRow<br /><br /> <span style=\"color: #00C800;\">FOR</span> K = <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">TO</span> nTotCol<br /><br /> nPos := nTotCol * <span style=\"color: #000000;\">(</span> t - <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">)</span> + k<br /><br /> @ xRow, xCol <span style=\"color: #0000ff;\">BTNBMP</span> oBtnNum<span style=\"color: #000000;\">[</span> nPos <span style=\"color: #000000;\">]</span> <span style=\"color: #0000ff;\">SIZE</span> xWidth, xHeight ;<br /> <span style=\"color: #0000ff;\">PIXEL</span> FLAT <span style=\"color: #0000ff;\">OF</span> oDlg <span style=\"color: #0000ff;\">PROMPT</span> AllTrim<span style=\"color: #000000;\">(</span> Str<span style=\"color: #000000;\">(</span> nPos, <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span> ;<br /> <span style=\"color: #0000ff;\">ACTION</span><span style=\"color: #000000;\">(</span> VERIFY_NUMBERX_BTN<span style=\"color: #000000;\">(</span> oBtnNum, oDlg, oSay <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span><br /><br /> oBtnNum<span style=\"color: #000000;\">[</span> nPos <span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">bClrGrad</span> = <span style=\"color: #000000;\">{</span>| lInvert | <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">(</span> ! lInvert, ;<br /> <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">1</span>, RGB<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">255</span>, <span style=\"color: #000000;\">255</span>, <span style=\"color: #000000;\">255</span> <span style=\"color: #000000;\">)</span>, RGB<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">229</span>, <span style=\"color: #000000;\">233</span>, <span style=\"color: #000000;\">238</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">}</span>, ;<br /> <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">1</span> / <span style=\"color: #000000;\">2</span>, RGB<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">242</span>, <span style=\"color: #000000;\">244</span>, <span style=\"color: #000000;\">246</span> <span style=\"color: #000000;\">)</span>, RGB<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">145</span>, <span style=\"color: #000000;\">201</span>, <span style=\"color: #000000;\">247</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span>, ;<br /> <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">1</span> / <span style=\"color: #000000;\">2</span>, RGB<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">145</span>, <span style=\"color: #000000;\">201</span>, <span style=\"color: #000000;\">247</span> <span style=\"color: #000000;\">)</span>, RGB<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">242</span>, <span style=\"color: #000000;\">244</span>, <span style=\"color: #000000;\">246</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span><br /><br /> oBtnNum<span style=\"color: #000000;\">[</span> nPos <span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">Cargo</span> := <span style=\"color: #000000;\">{</span> .F., .F., .F. <span style=\"color: #000000;\">}</span><br /><br /> xCol += xWidth + xSpace<br /><br /> <span style=\"color: #00C800;\">NEXT</span><br /><br /> xRow += xHeight + xSpace<br /><br /> xCol := <span style=\"color: #000000;\">40</span><br /><br /> <span style=\"color: #00C800;\">NEXT</span><br /><br /> @ <span style=\"color: #000000;\">44</span>, <span style=\"color: #000000;\">150</span> <span style=\"color: #0000ff;\">BUTTON</span> oExit <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"&Ok\"</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">40</span>, <span style=\"color: #000000;\">20</span> <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #0000ff;\">OF</span> oDlg ;<br /> <span style=\"color: #0000ff;\">ACTION</span><span style=\"color: #000000;\">(</span> oDlg:<span style=\"color: #000000;\">End</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span> CANCEL<br /><br /> <span style=\"color: #B900B9;\">// SET FONT OF oBtnNum[ nPos ] TO oFnt</span><br /> SET <span style=\"color: #0000ff;\">FONT</span> <span style=\"color: #0000ff;\">OF</span> oExit <span style=\"color: #0000ff;\">TO</span> oFont<br /><br /> <span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <span style=\"color: #0000ff;\">CENTERED</span><br /><br /> oFnt:<span style=\"color: #000000;\">End</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /> oFont:<span style=\"color: #000000;\">End</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /><span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">NIL</span><br /><br /><span style=\"color: #00C800;\">FUNCTION</span> VERIFY_NUMBERX_BTN<span style=\"color: #000000;\">(</span> oBtnNum, oDlg, oSay <span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">LOCAL</span> cTextSay := SPACE<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">20</span><span style=\"color: #000000;\">)</span> <span style=\"color: #B900B9;\">// cPrompt</span><br /><br /> <span style=\"color: #00C800;\">IF</span> nVeces = <span style=\"color: #000000;\">1</span><br /><br /> nVeces := nVeces + <span style=\"color: #000000;\">1</span><br /><br /> oBtnNum<span style=\"color: #000000;\">[</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">Disable</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /> oBtnNum<span style=\"color: #000000;\">[</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">]</span>:<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> cTextSay := <span style=\"color: #ff0000;\">\"I am Taken\"</span><br /><br /> oSay:<span style=\"color: #000000;\">VARPUT</span><span style=\"color: #000000;\">(</span> cTextSay <span style=\"color: #000000;\">)</span><br /> oSay:<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> Taken<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> ELSEIF nVeces = <span style=\"color: #000000;\">2</span><br /><br /> nVeces := nVeces + <span style=\"color: #000000;\">1</span><br /><br /> oBtnNum<span style=\"color: #000000;\">[</span> <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">Disable</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /> oBtnNum<span style=\"color: #000000;\">[</span> <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">]</span>:<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> cTextSay := <span style=\"color: #ff0000;\">\"I am Fixes\"</span><br /><br /> oSay:<span style=\"color: #000000;\">VARPUT</span><span style=\"color: #000000;\">(</span> cTextSay <span style=\"color: #000000;\">)</span><br /> oSay:<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> Fixes<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> ELSEIF nVeces = <span style=\"color: #000000;\">3</span><br /><br /> nVeces := nVeces + <span style=\"color: #000000;\">1</span><br /><br /> oBtnNum<span style=\"color: #000000;\">[</span> <span style=\"color: #000000;\">3</span> <span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">Disable</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /> oBtnNum<span style=\"color: #000000;\">[</span> <span style=\"color: #000000;\">3</span> <span style=\"color: #000000;\">]</span>:<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> cTextSay := <span style=\"color: #ff0000;\">\"I am Free.\"</span><br /><br /> oSay:<span style=\"color: #000000;\">VARPUT</span><span style=\"color: #000000;\">(</span> cTextSay <span style=\"color: #000000;\">)</span><br /> oSay:<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> Free<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> ELSEIF nVeces = <span style=\"color: #000000;\">4</span><br /><br /> nVeces = <span style=\"color: #000000;\">1</span><br /><br /> <span style=\"color: #B900B9;\">// oDlg:End()</span><br /><br /> cTextSay := <span style=\"color: #ff0000;\">\"Yo Soy Silvio\"</span><br /><br /> oSay:<span style=\"color: #000000;\">VARPUT</span><span style=\"color: #000000;\">(</span> cTextSay <span style=\"color: #000000;\">)</span><br /> oSay:<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> oBtnNum<span style=\"color: #000000;\">[</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">Enable</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /> oBtnNum<span style=\"color: #000000;\">[</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">]</span>:<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> oBtnNum<span style=\"color: #000000;\">[</span> <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">Enable</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /> oBtnNum<span style=\"color: #000000;\">[</span> <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">]</span>:<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> oBtnNum<span style=\"color: #000000;\">[</span> <span style=\"color: #000000;\">3</span> <span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">Enable</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /> oBtnNum<span style=\"color: #000000;\">[</span> <span style=\"color: #000000;\">3</span> <span style=\"color: #000000;\">]</span>:<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">ENDIF</span><br /><br /><span style=\"color: #00C800;\">RETURN</span><span style=\"color: #000000;\">(</span> .T. <span style=\"color: #000000;\">)</span><br /><br /><span style=\"color: #00C800;\">FUNCTION</span> Taken<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> <span style=\"color: #B900B9;\">// tomada</span><br /><br /> ? <span style=\"color: #ff0000;\">\"Taken?\"</span><br /><br /><span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">NIL</span><br /><br /><span style=\"color: #00C800;\">FUNCTION</span> Fixes<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> <span style=\"color: #B900B9;\">// correções</span><br /><br /> ? <span style=\"color: #ff0000;\">\"Fixes?\"</span><br /><br /><span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">NIL</span><br /><br /><span style=\"color: #00C800;\">FUNCTION</span> Free<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> <span style=\"color: #B900B9;\">// Grátis/Livre</span><br /><br /> ? <span style=\"color: #ff0000;\">\"Free?\"</span><br /><br /><span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">NIL</span><br /><br /><span style=\"color: #B900B9;\">// END / FIN</span><br /> </div>[/code:9lrei53n][/quote:9lrei53n]\n\n\nNo sorry.....I have many numbers \n\nPlease see this test \n\nI made two states Orange and Blue\nI have two array one for numbers (alista) and one for numbers fix (afissi)\n\nI select and the procedure change the color in DARKORANGE2 and the status cargo\n\n[img:9lrei53n]https://i.postimg.cc/xCWkn03G/1.png[/img:9lrei53n]\nIf you press the button \"go\" you can see two array one with the number 1 and one empty \n\nNow I Press the number btnbmp it change on LIGHTBLUE and change the status cargo \n\n[img:9lrei53n]https://i.postimg.cc/BvjQ6r6m/2.png[/img:9lrei53n]\n\nIf you press the button \"go\" you can see two array one with the number 1 and one with the same number 1\n\n\nNow I wish return to Initial state the color must be DARKCYAN and the cargo .f., .f.\nhow I can do ? \n\n\n\n\n\n\n\n\n\n\n\n[code=fw:9lrei53n]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"fivewin.ch\"</span><br /><span style=\"color: #00D7D7;\">#define</span> DARKORANGE2 nRGB<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">247</span>, <span style=\"color: #000000;\">192</span>, <span style=\"color: #000000;\">91</span> <span style=\"color: #000000;\">)</span><br /><span style=\"color: #00D7D7;\">#define</span> LIGHTBLUE nRGB<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">89</span>, <span style=\"color: #000000;\">135</span>, <span style=\"color: #000000;\">214</span> <span style=\"color: #000000;\">)</span><br /><span style=\"color: #00D7D7;\">#define</span> DARKCYAN nRGB<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">125</span>, <span style=\"color: #000000;\">165</span>, <span style=\"color: #000000;\">224</span> <span style=\"color: #000000;\">)</span><br /><span style=\"color: #00C800;\">static</span> alista,aFissi<br /><br /><br /><span style=\"color: #00C800;\">Function</span> test<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><span style=\"color: #00C800;\">local</span> odlg,oBtnNum:=array<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">)</span><br /><span style=\"color: #00C800;\">local</span> nPos:= <span style=\"color: #000000;\">1</span><br /><span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">600</span>,<span style=\"color: #000000;\">600</span> <span style=\"color: #0000ff;\">PIXEL</span> TRUEPIXEL RESIZABLE<br /><br />@ <span style=\"color: #000000;\">10</span>, <span style=\"color: #000000;\">10</span> <span style=\"color: #0000ff;\">BTNBMP</span> oBtnNum<span style=\"color: #000000;\">[</span> nPos <span style=\"color: #000000;\">]</span> <span style=\"color: #0000ff;\">PROMPT</span> alltrim<span style=\"color: #000000;\">(</span>str<span style=\"color: #000000;\">(</span> nPos, <span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">)</span><span style=\"color: #000000;\">)</span> ;<br /> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">40</span>,<span style=\"color: #000000;\">30</span> <span style=\"color: #0000ff;\">PIXEL</span> FLAT <span style=\"color: #0000ff;\">OF</span> oDlg<br /> oBtnNum<span style=\"color: #000000;\">[</span>nPos<span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">bClrGrad</span> = <span style=\"color: #000000;\">{</span> | lInvert | <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">(</span> ! lInvert,;<br /> <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">1</span>, DARKCYAN, DARKCYAN <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">}</span>,;<br /> <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">1</span>, DARKCYAN, DARKCYAN <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span><br />oBtnNum<span style=\"color: #000000;\">[</span>nPos<span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">cargo</span>:=<span style=\"color: #000000;\">{</span>.f.,.f.<span style=\"color: #000000;\">}</span><br />oBtnNum<span style=\"color: #000000;\">[</span>nPos<span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">bAction</span> := BtnAction<span style=\"color: #000000;\">(</span>oBtnNum,nPos<span style=\"color: #000000;\">)</span><br /> @ <span style=\"color: #000000;\">400</span>,<span style=\"color: #000000;\">10</span> <span style=\"color: #0000ff;\">BUTTON</span> oBtnConfirm <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"GO\"</span> <span style=\"color: #0000ff;\">of</span> oDlg <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">80</span>,<span style=\"color: #000000;\">22</span> <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #0000ff;\">ACTION</span> vedilista<span style=\"color: #000000;\">(</span>alista<span style=\"color: #000000;\">)</span><br /><br /><span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <span style=\"color: #0000ff;\">center</span> ;<br /><span style=\"color: #0000ff;\">on</span> <span style=\"color: #0000ff;\">init</span> testinit<span style=\"color: #000000;\">(</span>nPos,oBtnNum<span style=\"color: #000000;\">)</span><br /><span style=\"color: #B900B9;\">//-----------------------------------------------------------------------//</span><br /><span style=\"color: #00C800;\">Function</span> BtnAction<span style=\"color: #000000;\">(</span>oBtnNum,nPos<span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">return</span> <span style=\"color: #000000;\">{</span> || CheckStatus<span style=\"color: #000000;\">(</span> oBtnNum,nPos<span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span><br /><span style=\"color: #B900B9;\">//-----------------------------------------------------------------------//</span><br /><span style=\"color: #00C800;\">Function</span> CheckStatus<span style=\"color: #000000;\">(</span> oBtnNum,nPos<span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">if</span> !oBtnNum<span style=\"color: #000000;\">[</span>nPos<span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">lPressed</span><br /> oBtnNum<span style=\"color: #000000;\">[</span>nPos<span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">cargo</span><span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">]</span>:=.t.<br /> oBtnNum<span style=\"color: #000000;\">[</span>nPos<span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">cargo</span><span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">]</span>:=.t.<br /> oBtnNum<span style=\"color: #000000;\">[</span>nPos<span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">bClrGrad</span> = <span style=\"color: #000000;\">{</span> | lInvert | <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">(</span> ! lInvert,;<br /> <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">1</span>, LIGHTBLUE, LIGHTBLUE <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">}</span>,;<br /> <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">1</span>, LIGHTBLUE, LIGHTBLUE <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span><br /> <span style=\"color: #00C800;\">else</span><br /> oBtnNum<span style=\"color: #000000;\">[</span>nPos<span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">cargo</span><span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">]</span>:=.f.<br /> oBtnNum<span style=\"color: #000000;\">[</span>nPos<span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">cargo</span><span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">]</span>:=.f.<br /> oBtnNum<span style=\"color: #000000;\">[</span>nPos<span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">bClrGrad</span> = <span style=\"color: #000000;\">{</span> | lInvert | <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">(</span> ! lInvert,;<br /> <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">1</span>, DARKCYAN, DARKCYAN <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">}</span>,;<br /> <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">1</span>, DARKCYAN, DARKCYAN <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span><br /> <span style=\"color: #00C800;\">Endif</span><br /><br /> UpdateSay<span style=\"color: #000000;\">(</span>oBtnNum<span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span><br /> <span style=\"color: #B900B9;\">//------------------------------------------------//</span><br /> <span style=\"color: #00C800;\">Function</span> testinit<span style=\"color: #000000;\">(</span>nPos,oCmb<span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">local</span> atemp:=<span style=\"color: #000000;\">{</span><span style=\"color: #000000;\">}</span><br /> <span style=\"color: #00C800;\">local</span> lSelect,idcheck,n<br /> atemp:=<span style=\"color: #000000;\">{</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">}</span><br /> <span style=\"color: #00C800;\">For</span> n= <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">to</span> Len<span style=\"color: #000000;\">(</span>atemp<span style=\"color: #000000;\">)</span><br /> idcheck:= atemp<span style=\"color: #000000;\">[</span>n<span style=\"color: #000000;\">]</span><br /> lSelect:=.t.<br /> oCmb<span style=\"color: #000000;\">[</span>idcheck<span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">lPressed</span>:=lSelect<br /> oCmb<span style=\"color: #000000;\">[</span>idcheck<span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">cargo</span><span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">]</span>:=lSelect<br /> oCmb<span style=\"color: #000000;\">[</span>idcheck<span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">cargo</span><span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">]</span>:=.f.<br /><br /> oCmb<span style=\"color: #000000;\">[</span>idcheck<span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">bClrGrad</span> = <span style=\"color: #000000;\">{</span> | lInvert | <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">(</span> ! lInvert,;<br /> <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">1</span>, DARKORANGE2, DARKORANGE2 <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">}</span>,;<br /> <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">1</span>, DARKORANGE2, DARKORANGE2 <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span><br /> oCmb<span style=\"color: #000000;\">[</span>idcheck<span style=\"color: #000000;\">]</span>:<span style=\"color: #0000ff;\">refresh</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">next</span><br /> UpdateSay<span style=\"color: #000000;\">(</span>oCmb<span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span><br /><br />proc UpdateSay<span style=\"color: #000000;\">(</span>aBtn<span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">local</span> i<br /> aLista:=<span style=\"color: #000000;\">{</span><span style=\"color: #000000;\">}</span><br /> aFissi:=<span style=\"color: #000000;\">{</span><span style=\"color: #000000;\">}</span><br /><br /> <span style=\"color: #00C800;\">for</span> i:=<span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">to</span> <span style=\"color: #000000;\">1</span><br /> <span style=\"color: #00C800;\">if</span> aBtn<span style=\"color: #000000;\">[</span>i<span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">cargo</span><span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">]</span> =.t.<br /> aadd<span style=\"color: #000000;\">(</span>aLista,ltrim<span style=\"color: #000000;\">(</span>str<span style=\"color: #000000;\">(</span>i<span style=\"color: #000000;\">)</span><span style=\"color: #000000;\">)</span><span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">endif</span><br /> <span style=\"color: #00C800;\">if</span> aBtn<span style=\"color: #000000;\">[</span>i<span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">cargo</span><span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">]</span>= .t.<br /> aadd<span style=\"color: #000000;\">(</span>aFissi,ltrim<span style=\"color: #000000;\">(</span>str<span style=\"color: #000000;\">(</span>i<span style=\"color: #000000;\">)</span><span style=\"color: #000000;\">)</span><span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">Endif</span><br /> <span style=\"color: #00C800;\">Next</span><br /> <span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span><br /><br /> <span style=\"color: #00C800;\">Function</span> vedilista<span style=\"color: #000000;\">(</span>alista<span style=\"color: #000000;\">)</span><br /> xbrowser alista<br /> xbrowser afissi<br /> <span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span><br /><br /> </div>[/code:9lrei53n]",
"time": "13:39",
"topic": "3 state btnbmp",
"username": "Silvio.Falconi"
}
] |
3 state btnbmp
|
[
{
"date": "2022-03-24",
"forum": "FiveWin for Harbour/xHarbour",
"text": "hi Silvio,\n\ni have search in Fivewin and found just 1 Sample x:\\fwh\\samples\\fiveres.prg using BS_3STATE\nalso in HMG and MiniGUI Extended Version i did not found any Sample <!-- s:shock: --><img src=\"{SMILIES_PATH}/icon_eek.gif\" alt=\":shock:\" title=\"Shocked\" /><!-- s:shock: --> \n\nBS_3STATE is a \"Radio-Button\" Style and it is \"normal\" Setup at Create.\nnot sure if you can change Style after Create.",
"time": "19:44",
"topic": "3 state btnbmp",
"username": "Jimmy"
}
] |
3 state btnbmp
|
[
{
"date": "2022-03-24",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Silvio,\nhere is a much more simple code to realize a tri-state-button.\nHope it helps ...\n\n[code=fw:3hby01xp]<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><span style=\"color: #000000;\">)</span><br /><span style=\"color: #B900B9;\">//-------------</span><br /><span style=\"color: #00C800;\">LOCAL</span> oDlg<br /><span style=\"color: #00C800;\">LOCAL</span> nTotCol := <span style=\"color: #000000;\">2</span><br /><span style=\"color: #00C800;\">LOCAL</span> nTotRow := <span style=\"color: #000000;\">2</span><br /><span style=\"color: #00C800;\">LOCAL</span> oBtnNum := Array<span style=\"color: #000000;\">(</span> nTotRow * nTotCol <span style=\"color: #000000;\">)</span><br /><span style=\"color: #00C800;\">LOCAL</span> xRow := <span style=\"color: #000000;\">25</span><br /><span style=\"color: #00C800;\">LOCAL</span> xCol := <span style=\"color: #000000;\">40</span><br /><span style=\"color: #00C800;\">LOCAL</span> xWidth := <span style=\"color: #000000;\">40</span><br /><span style=\"color: #00C800;\">LOCAL</span> xHeight := <span style=\"color: #000000;\">30</span><br /><span style=\"color: #00C800;\">LOCAL</span> xSpace := <span style=\"color: #000000;\">2</span><br /><span style=\"color: #00C800;\">LOCAL</span> k, t, oSay, nPos<br /><br /><br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">800</span>,<span style=\"color: #000000;\">600</span><br /> @ <span style=\"color: #000000;\">10</span>,<span style=\"color: #000000;\">10</span> <span style=\"color: #0000ff;\">SAY</span> oSay <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"0 selezionati\"</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">100</span>,<span style=\"color: #000000;\">20</span> <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #0000ff;\">OF</span> oDlg TRANSPARENT<br /><br /> <span style=\"color: #00C800;\">for</span> t := <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">to</span> nTotRow<br /> <span style=\"color: #00C800;\">for</span> k := <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">to</span> nTotCol<br /> nPos := nTotCol * <span style=\"color: #000000;\">(</span> t - <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">)</span> + k<br /> @ xRow, xCol <span style=\"color: #0000ff;\">BTNBMP</span> oBtnNum<span style=\"color: #000000;\">[</span> nPos <span style=\"color: #000000;\">]</span> <span style=\"color: #0000ff;\">PROMPT</span> alltrim<span style=\"color: #000000;\">(</span> str<span style=\"color: #000000;\">(</span> nPos, <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span> ;<br /> <span style=\"color: #0000ff;\">SIZE</span> xWidth, xHeight <span style=\"color: #0000ff;\">OF</span> oDlg<br /><br /> oBtnNum<span style=\"color: #000000;\">[</span> nPos <span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">cargo</span> := <span style=\"color: #000000;\">1</span><br /> oBtnNum<span style=\"color: #000000;\">[</span> nPos <span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">bAction</span> := <span style=\"color: #000000;\">{</span> | o | SetStatus<span style=\"color: #000000;\">(</span> o <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span><br /> oBtnNum<span style=\"color: #000000;\">[</span> nPos <span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">SetColor</span><span style=\"color: #000000;\">(</span> CLR_BLACK, CLR_HGREEN <span style=\"color: #000000;\">)</span><br /><br /> xCol += xWidth + xSpace<br /> <span style=\"color: #00C800;\">next</span><br /><br /> xRow += xHeight + xSpace<br /> xCol := <span style=\"color: #000000;\">40</span><br /> <span style=\"color: #00C800;\">next</span><br /><br /> <span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDLG<br /><br /><span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">NIL</span><br /><br />PROCEDURE SetStatus<span style=\"color: #000000;\">(</span> oBtn <span style=\"color: #000000;\">)</span><br /><span style=\"color: #B900B9;\">//-------------------------</span><br /><br /> <span style=\"color: #00C800;\">switch</span> oBtn:<span style=\"color: #000000;\">cargo</span><br /> <span style=\"color: #00C800;\">case</span> <span style=\"color: #000000;\">1</span><br /> oBtn:<span style=\"color: #000000;\">cargo</span> := <span style=\"color: #000000;\">2</span><br /> oBtn:<span style=\"color: #000000;\">SetColor</span><span style=\"color: #000000;\">(</span> CLR_BLACK, CLR_YELLOW <span style=\"color: #000000;\">)</span><br /> EXIT<br /><br /> <span style=\"color: #00C800;\">case</span> <span style=\"color: #000000;\">2</span><br /> oBtn:<span style=\"color: #000000;\">cargo</span> := <span style=\"color: #000000;\">3</span><br /> oBtn:<span style=\"color: #000000;\">SetColor</span><span style=\"color: #000000;\">(</span> CLR_BLACK, CLR_HRED <span style=\"color: #000000;\">)</span><br /> EXIT<br /><br /> <span style=\"color: #00C800;\">case</span> <span style=\"color: #000000;\">3</span><br /> oBtn:<span style=\"color: #000000;\">cargo</span> := <span style=\"color: #000000;\">1</span><br /> oBtn:<span style=\"color: #000000;\">SetColor</span><span style=\"color: #000000;\">(</span> CLR_BLACK, CLR_HGREEN <span style=\"color: #000000;\">)</span><br /><br /> end<br /><br /> oBtn:<span style=\"color: #0000ff;\">refresh</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><span style=\"color: #00C800;\">RETURN</span></div>[/code:3hby01xp]",
"time": "23:34",
"topic": "3 state btnbmp",
"username": "Detlef"
}
] |
3 state btnbmp
|
[
{
"date": "2022-03-27",
"forum": "FiveWin for Harbour/xHarbour",
"text": "[quote=\"Detlef\":2efhed0u]Silvio,\nhere is a much more simple code to realize a tri-state-button.\nHope it helps ...\n\n[code=fw:2efhed0u]<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><span style=\"color: #000000;\">)</span><br /><span style=\"color: #B900B9;\">//-------------</span><br /><span style=\"color: #00C800;\">LOCAL</span> oDlg<br /><span style=\"color: #00C800;\">LOCAL</span> nTotCol := <span style=\"color: #000000;\">2</span><br /><span style=\"color: #00C800;\">LOCAL</span> nTotRow := <span style=\"color: #000000;\">2</span><br /><span style=\"color: #00C800;\">LOCAL</span> oBtnNum := Array<span style=\"color: #000000;\">(</span> nTotRow * nTotCol <span style=\"color: #000000;\">)</span><br /><span style=\"color: #00C800;\">LOCAL</span> xRow := <span style=\"color: #000000;\">25</span><br /><span style=\"color: #00C800;\">LOCAL</span> xCol := <span style=\"color: #000000;\">40</span><br /><span style=\"color: #00C800;\">LOCAL</span> xWidth := <span style=\"color: #000000;\">40</span><br /><span style=\"color: #00C800;\">LOCAL</span> xHeight := <span style=\"color: #000000;\">30</span><br /><span style=\"color: #00C800;\">LOCAL</span> xSpace := <span style=\"color: #000000;\">2</span><br /><span style=\"color: #00C800;\">LOCAL</span> k, t, oSay, nPos<br /><br /><br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">800</span>,<span style=\"color: #000000;\">600</span><br /> @ <span style=\"color: #000000;\">10</span>,<span style=\"color: #000000;\">10</span> <span style=\"color: #0000ff;\">SAY</span> oSay <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"0 selezionati\"</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">100</span>,<span style=\"color: #000000;\">20</span> <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #0000ff;\">OF</span> oDlg TRANSPARENT<br /><br /> <span style=\"color: #00C800;\">for</span> t := <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">to</span> nTotRow<br /> <span style=\"color: #00C800;\">for</span> k := <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">to</span> nTotCol<br /> nPos := nTotCol * <span style=\"color: #000000;\">(</span> t - <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">)</span> + k<br /> @ xRow, xCol <span style=\"color: #0000ff;\">BTNBMP</span> oBtnNum<span style=\"color: #000000;\">[</span> nPos <span style=\"color: #000000;\">]</span> <span style=\"color: #0000ff;\">PROMPT</span> alltrim<span style=\"color: #000000;\">(</span> str<span style=\"color: #000000;\">(</span> nPos, <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span> ;<br /> <span style=\"color: #0000ff;\">SIZE</span> xWidth, xHeight <span style=\"color: #0000ff;\">OF</span> oDlg<br /><br /> oBtnNum<span style=\"color: #000000;\">[</span> nPos <span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">cargo</span> := <span style=\"color: #000000;\">1</span><br /> oBtnNum<span style=\"color: #000000;\">[</span> nPos <span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">bAction</span> := <span style=\"color: #000000;\">{</span> | o | SetStatus<span style=\"color: #000000;\">(</span> o <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span><br /> oBtnNum<span style=\"color: #000000;\">[</span> nPos <span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">SetColor</span><span style=\"color: #000000;\">(</span> CLR_BLACK, CLR_HGREEN <span style=\"color: #000000;\">)</span><br /><br /> xCol += xWidth + xSpace<br /> <span style=\"color: #00C800;\">next</span><br /><br /> xRow += xHeight + xSpace<br /> xCol := <span style=\"color: #000000;\">40</span><br /> <span style=\"color: #00C800;\">next</span><br /><br /> <span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDLG<br /><br /><span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">NIL</span><br /><br />PROCEDURE SetStatus<span style=\"color: #000000;\">(</span> oBtn <span style=\"color: #000000;\">)</span><br /><span style=\"color: #B900B9;\">//-------------------------</span><br /><br /> <span style=\"color: #00C800;\">switch</span> oBtn:<span style=\"color: #000000;\">cargo</span><br /> <span style=\"color: #00C800;\">case</span> <span style=\"color: #000000;\">1</span><br /> oBtn:<span style=\"color: #000000;\">cargo</span> := <span style=\"color: #000000;\">2</span><br /> oBtn:<span style=\"color: #000000;\">SetColor</span><span style=\"color: #000000;\">(</span> CLR_BLACK, CLR_YELLOW <span style=\"color: #000000;\">)</span><br /> EXIT<br /><br /> <span style=\"color: #00C800;\">case</span> <span style=\"color: #000000;\">2</span><br /> oBtn:<span style=\"color: #000000;\">cargo</span> := <span style=\"color: #000000;\">3</span><br /> oBtn:<span style=\"color: #000000;\">SetColor</span><span style=\"color: #000000;\">(</span> CLR_BLACK, CLR_HRED <span style=\"color: #000000;\">)</span><br /> EXIT<br /><br /> <span style=\"color: #00C800;\">case</span> <span style=\"color: #000000;\">3</span><br /> oBtn:<span style=\"color: #000000;\">cargo</span> := <span style=\"color: #000000;\">1</span><br /> oBtn:<span style=\"color: #000000;\">SetColor</span><span style=\"color: #000000;\">(</span> CLR_BLACK, CLR_HGREEN <span style=\"color: #000000;\">)</span><br /><br /> end<br /><br /> oBtn:<span style=\"color: #0000ff;\">refresh</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><span style=\"color: #00C800;\">RETURN</span></div>[/code:2efhed0u][/quote:2efhed0u]\n\n\nDear friend,\nThanks for the example, but I have a difficulty\nI inserted a pattern by calling it from another dialog\nwhen I return to the dialog where the btnbmp are they are not colored\nif I insert a function to refresh all the btnbmp it tells me that it does not find the cargo variable, how can I do to save the status?\n\nI try with\nACTIVATE DIALOG oDLG ON INIT RefreshBtns(oBtn)\n\n\n[code=fw:2efhed0u]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00C800;\">Function</span> RefreshBtns<span style=\"color: #000000;\">(</span>oBtn<span style=\"color: #000000;\">)</span><br /><span style=\"color: #00C800;\">local</span> n<br /> <span style=\"color: #00C800;\">For</span> n= <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">to</span> Len<span style=\"color: #000000;\">(</span>obtn<span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">If</span> oBtn<span style=\"color: #000000;\">[</span>n<span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">cargo</span>= <span style=\"color: #000000;\">1</span><br /> oBtn<span style=\"color: #000000;\">[</span>n<span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">SetColor</span><span style=\"color: #000000;\">(</span> CLR_BLACK, CLR_HGREEN <span style=\"color: #000000;\">)</span><br /> elseif oBtn<span style=\"color: #000000;\">[</span>n<span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">cargo</span>= <span style=\"color: #000000;\">2</span><br /> oBtn<span style=\"color: #000000;\">[</span>n<span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">SetColor</span><span style=\"color: #000000;\">(</span> CLR_BLACK, CLR_YELLOW <span style=\"color: #000000;\">)</span><br /> elseif oBtn<span style=\"color: #000000;\">[</span>n<span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">cargo</span>= <span style=\"color: #000000;\">3</span><br /> oBtn<span style=\"color: #000000;\">[</span>n<span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">SetColor</span><span style=\"color: #000000;\">(</span> CLR_BLACK, CLR_HRED <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">Endif</span><br /> oBtn<span style=\"color: #000000;\">[</span>n<span style=\"color: #000000;\">]</span>:<span style=\"color: #0000ff;\">refresh</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">Next</span> <br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span></div>[/code:2efhed0u]\n\n\nThe test complete ( I try to out oBtnNum as statuc but not save o status \n\n[code=fw:2efhed0u]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"> <br /><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"fivewin.ch\"</span><br /><br /> <span style=\"color: #00C800;\">STATIC</span> oBtnNum<br /><br /><br /><span style=\"color: #00C800;\">Function</span> Test<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">local</span> oDlg<br /> <span style=\"color: #00C800;\">local</span> oTable<br /> <span style=\"color: #00C800;\">LOCAL</span> nTotCol := <span style=\"color: #000000;\">4</span><br /> <span style=\"color: #00C800;\">LOCAL</span> nTotRow := <span style=\"color: #000000;\">2</span><br /><br /><br /> oBtnNum := Array<span style=\"color: #000000;\">(</span> nTotRow * nTotCol <span style=\"color: #000000;\">)</span><br /><br /><br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">800</span>,<span style=\"color: #000000;\">600</span><br /> @ <span style=\"color: #000000;\">10</span>,<span style=\"color: #000000;\">10</span> <span style=\"color: #0000ff;\">Button</span> <span style=\"color: #ff0000;\">\"table\"</span> <span style=\"color: #0000ff;\">size</span> <span style=\"color: #000000;\">42</span>,<span style=\"color: #000000;\">18</span> <span style=\"color: #0000ff;\">of</span> oDlg <span style=\"color: #0000ff;\">action</span> table<span style=\"color: #000000;\">(</span>oBtnNum,nTotCol,nTotRow<span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDLG<br /> <span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span><br /><br /><br /> <span style=\"color: #00C800;\">FUNCTION</span> table<span style=\"color: #000000;\">(</span>oBtnNum,nTotCol,nTotRow<span style=\"color: #000000;\">)</span><br /> <span style=\"color: #B900B9;\">//-------------</span><br /> <span style=\"color: #00C800;\">LOCAL</span> oDlg<br /> * <span style=\"color: #00C800;\">LOCAL</span> nTotCol := <span style=\"color: #000000;\">2</span><br /> * <span style=\"color: #00C800;\">LOCAL</span> nTotRow := <span style=\"color: #000000;\">2</span><br /> * <span style=\"color: #00C800;\">LOCAL</span> oBtnNum := Array<span style=\"color: #000000;\">(</span> nTotRow * nTotCol <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">LOCAL</span> xRow := <span style=\"color: #000000;\">25</span><br /> <span style=\"color: #00C800;\">LOCAL</span> xCol := <span style=\"color: #000000;\">40</span><br /> <span style=\"color: #00C800;\">LOCAL</span> xWidth := <span style=\"color: #000000;\">40</span><br /> <span style=\"color: #00C800;\">LOCAL</span> xHeight := <span style=\"color: #000000;\">30</span><br /> <span style=\"color: #00C800;\">LOCAL</span> xSpace := <span style=\"color: #000000;\">2</span><br /> <span style=\"color: #00C800;\">LOCAL</span> k, t, oSay, nPos<br /><br /><br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">800</span>,<span style=\"color: #000000;\">600</span><br /> @ <span style=\"color: #000000;\">10</span>,<span style=\"color: #000000;\">10</span> <span style=\"color: #0000ff;\">SAY</span> oSay <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"0 selezionati\"</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">100</span>,<span style=\"color: #000000;\">20</span> <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #0000ff;\">OF</span> oDlg TRANSPARENT<br /><br /> <span style=\"color: #00C800;\">for</span> t := <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">to</span> nTotRow<br /> <span style=\"color: #00C800;\">for</span> k := <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">to</span> nTotCol<br /> nPos := nTotCol * <span style=\"color: #000000;\">(</span> t - <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">)</span> + k<br /> @ xRow, xCol <span style=\"color: #0000ff;\">BTNBMP</span> oBtnNum<span style=\"color: #000000;\">[</span> nPos <span style=\"color: #000000;\">]</span> <span style=\"color: #0000ff;\">PROMPT</span> alltrim<span style=\"color: #000000;\">(</span> str<span style=\"color: #000000;\">(</span> nPos, <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span> ;<br /> <span style=\"color: #0000ff;\">SIZE</span> xWidth, xHeight FLAT <span style=\"color: #0000ff;\">OF</span> oDlg NOROUND<br /><br /> oBtnNum<span style=\"color: #000000;\">[</span> nPos <span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">cargo</span> := <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">1</span> ,npos <span style=\"color: #000000;\">}</span><br /> oBtnNum<span style=\"color: #000000;\">[</span> nPos <span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">bAction</span> := <span style=\"color: #000000;\">{</span> | o | SetStatus<span style=\"color: #000000;\">(</span> o <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span><br /> oBtnNum<span style=\"color: #000000;\">[</span> nPos <span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">SetColor</span><span style=\"color: #000000;\">(</span> CLR_BLACK, CLR_HGREEN <span style=\"color: #000000;\">)</span><br /><br /> xCol += xWidth + xSpace<br /> <span style=\"color: #00C800;\">next</span><br /><br /> xRow += xHeight + xSpace<br /> xCol := <span style=\"color: #000000;\">40</span><br /> <span style=\"color: #00C800;\">next</span><br /><br /> <span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDLG ;<br /> <span style=\"color: #0000ff;\">ON</span> <span style=\"color: #0000ff;\">INIT</span> RefreshBtns<span style=\"color: #000000;\">(</span>oBtnNum<span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">NIL</span><br /><br /> PROCEDURE SetStatus<span style=\"color: #000000;\">(</span> oBtn <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #B900B9;\">//-------------------------</span><br /><br /> <span style=\"color: #00C800;\">switch</span> oBtn:<span style=\"color: #000000;\">cargo</span><span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">]</span><br /> <span style=\"color: #00C800;\">case</span> <span style=\"color: #000000;\">1</span><br /> oBtn:<span style=\"color: #000000;\">cargo</span><span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">]</span> := <span style=\"color: #000000;\">2</span><br /> oBtn:<span style=\"color: #000000;\">SetColor</span><span style=\"color: #000000;\">(</span> CLR_BLACK, CLR_YELLOW <span style=\"color: #000000;\">)</span><br /> EXIT<br /><br /> <span style=\"color: #00C800;\">case</span> <span style=\"color: #000000;\">2</span><br /> oBtn:<span style=\"color: #000000;\">cargo</span><span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">]</span> := <span style=\"color: #000000;\">3</span><br /> oBtn:<span style=\"color: #000000;\">SetColor</span><span style=\"color: #000000;\">(</span> CLR_BLACK, CLR_HRED <span style=\"color: #000000;\">)</span><br /> EXIT<br /><br /> <span style=\"color: #00C800;\">case</span> <span style=\"color: #000000;\">3</span><br /> oBtn:<span style=\"color: #000000;\">cargo</span><span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">]</span> := <span style=\"color: #000000;\">1</span><br /> oBtn:<span style=\"color: #000000;\">SetColor</span><span style=\"color: #000000;\">(</span> CLR_BLACK, CLR_HGREEN <span style=\"color: #000000;\">)</span><br /><br /> end<br /><br /> oBtn:<span style=\"color: #0000ff;\">refresh</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">RETURN</span><br /><br /><br /><br /> <span style=\"color: #00C800;\">Function</span> RefreshBtns<span style=\"color: #000000;\">(</span>oBtn<span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">local</span> n<br /> <span style=\"color: #00C800;\">For</span> n= <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">to</span> Len<span style=\"color: #000000;\">(</span>obtn<span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">If</span> oBtn<span style=\"color: #000000;\">[</span>n<span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">cargo</span><span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">]</span>= <span style=\"color: #000000;\">1</span><br /> oBtn<span style=\"color: #000000;\">[</span>n<span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">SetColor</span><span style=\"color: #000000;\">(</span> CLR_BLACK, CLR_HGREEN <span style=\"color: #000000;\">)</span><br /> elseif oBtn<span style=\"color: #000000;\">[</span>n<span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">cargo</span><span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">]</span>= <span style=\"color: #000000;\">2</span><br /> oBtn<span style=\"color: #000000;\">[</span>n<span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">SetColor</span><span style=\"color: #000000;\">(</span> CLR_BLACK, CLR_YELLOW <span style=\"color: #000000;\">)</span><br /> elseif oBtn<span style=\"color: #000000;\">[</span>n<span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">cargo</span><span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">]</span>= <span style=\"color: #000000;\">3</span><br /> oBtn<span style=\"color: #000000;\">[</span>n<span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">SetColor</span><span style=\"color: #000000;\">(</span> CLR_BLACK, CLR_HRED <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">Endif</span><br /> oBtn<span style=\"color: #000000;\">[</span>n<span style=\"color: #000000;\">]</span>:<span style=\"color: #0000ff;\">refresh</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">Next</span><br /> <span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span><br /><br /> </div>[/code:2efhed0u]",
"time": "17:51",
"topic": "3 state btnbmp",
"username": "Silvio.Falconi"
}
] |
3 state btnbmp
|
[
{
"date": "2022-03-28",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Silvio,\n\nI am not sure having understood your problem well.\nBut may be this could help you?\n\n[code=fw:34s19exl]<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;\">STATIC</span> aBtnNum<br /><br /><br /><span style=\"color: #00C800;\">FUNCTION</span> Test<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><span style=\"color: #B900B9;\">//-------------</span><br /><span style=\"color: #00C800;\">LOCAL</span> oDlg, oTable<br /><span style=\"color: #00C800;\">LOCAL</span> nTotCol := <span style=\"color: #000000;\">4</span><br /><span style=\"color: #00C800;\">LOCAL</span> nTotRow := <span style=\"color: #000000;\">2</span><br /><br /><br /> aBtnNum := Array<span style=\"color: #000000;\">(</span> nTotRow * nTotCol <span style=\"color: #000000;\">)</span><br /><br /><br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">800</span>,<span style=\"color: #000000;\">600</span><br /> @ <span style=\"color: #000000;\">10</span>,<span style=\"color: #000000;\">10</span> <span style=\"color: #0000ff;\">Button</span> oTable <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"table\"</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">42</span>, <span style=\"color: #000000;\">18</span> <span style=\"color: #0000ff;\">of</span> oDlg <span style=\"color: #0000ff;\">ACTION</span> Table<span style=\"color: #000000;\">(</span> nTotCol, nTotRow <span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDLG<br /><span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">NIL</span><br /><br /><br />PROCEDURE Table<span style=\"color: #000000;\">(</span> nTotCol, nTotRow <span style=\"color: #000000;\">)</span><br /><span style=\"color: #B900B9;\">//---------------------------------</span><br /><span style=\"color: #00C800;\">LOCAL</span> oDlg, oSay<br /><span style=\"color: #00C800;\">LOCAL</span> xRow := <span style=\"color: #000000;\">25</span><br /><span style=\"color: #00C800;\">LOCAL</span> xCol := <span style=\"color: #000000;\">40</span><br /><span style=\"color: #00C800;\">LOCAL</span> xWidth := <span style=\"color: #000000;\">40</span><br /><span style=\"color: #00C800;\">LOCAL</span> xHeight := <span style=\"color: #000000;\">30</span><br /><span style=\"color: #00C800;\">LOCAL</span> xSpace := <span style=\"color: #000000;\">2</span><br /><span style=\"color: #00C800;\">LOCAL</span> nRow, nCol, nBtn<br /><br /><br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">800</span>,<span style=\"color: #000000;\">600</span><br /> @ <span style=\"color: #000000;\">10</span>,<span style=\"color: #000000;\">10</span> <span style=\"color: #0000ff;\">SAY</span> oSay <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"0 selezionati\"</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">100</span>,<span style=\"color: #000000;\">20</span> <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #0000ff;\">OF</span> oDlg TRANSPARENT<br /><br /> <span style=\"color: #00C800;\">for</span> nRow := <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">to</span> nTotRow<br /> <span style=\"color: #00C800;\">for</span> nCol := <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">to</span> nTotCol<br /> nBtn := nTotCol * <span style=\"color: #000000;\">(</span> nRow - <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">)</span> + nCol<br /> @ xRow, xCol <span style=\"color: #0000ff;\">BTNBMP</span> aBtnNum<span style=\"color: #000000;\">[</span> nBtn <span style=\"color: #000000;\">]</span> <span style=\"color: #0000ff;\">PROMPT</span> alltrim<span style=\"color: #000000;\">(</span> str<span style=\"color: #000000;\">(</span> nBtn, <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span> ;<br /> <span style=\"color: #0000ff;\">SIZE</span> xWidth, xHeight FLAT <span style=\"color: #0000ff;\">OF</span> oDlg NOROUND<br /><br /> aBtnNum<span style=\"color: #000000;\">[</span> nBtn <span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">cargo</span> := <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">1</span>, nBtn <span style=\"color: #000000;\">}</span><br /> aBtnNum<span style=\"color: #000000;\">[</span> nBtn <span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">bAction</span> := <span style=\"color: #000000;\">{</span> | o | SetStatus<span style=\"color: #000000;\">(</span> o <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span><br /> aBtnNum<span style=\"color: #000000;\">[</span> nBtn <span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">SetColor</span><span style=\"color: #000000;\">(</span> CLR_BLACK, CLR_HGREEN <span style=\"color: #000000;\">)</span><br /><br /> xCol += xWidth + xSpace<br /> <span style=\"color: #00C800;\">next</span><br /><br /> xRow += xHeight + xSpace<br /> xCol := <span style=\"color: #000000;\">40</span><br /> <span style=\"color: #00C800;\">next</span><br /><br /> <span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDLG<br /><span style=\"color: #00C800;\">RETURN</span><br /><br />PROCEDURE SetStatus<span style=\"color: #000000;\">(</span> oBtn <span style=\"color: #000000;\">)</span><br /><span style=\"color: #B900B9;\">//-------------------------</span><br /><br /> <span style=\"color: #00C800;\">switch</span> oBtn:<span style=\"color: #000000;\">cargo</span><span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">]</span><br /> <span style=\"color: #00C800;\">case</span> <span style=\"color: #000000;\">1</span><br /> oBtn:<span style=\"color: #000000;\">cargo</span><span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">]</span> := <span style=\"color: #000000;\">2</span><br /> oBtn:<span style=\"color: #000000;\">SetColor</span><span style=\"color: #000000;\">(</span> CLR_BLACK, CLR_YELLOW <span style=\"color: #000000;\">)</span><br /> EXIT<br /><br /> <span style=\"color: #00C800;\">case</span> <span style=\"color: #000000;\">2</span><br /> oBtn:<span style=\"color: #000000;\">cargo</span><span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">]</span> := <span style=\"color: #000000;\">3</span><br /> oBtn:<span style=\"color: #000000;\">SetColor</span><span style=\"color: #000000;\">(</span> CLR_BLACK, CLR_HRED <span style=\"color: #000000;\">)</span><br /> EXIT<br /><br /> <span style=\"color: #00C800;\">case</span> <span style=\"color: #000000;\">3</span><br /> oBtn:<span style=\"color: #000000;\">cargo</span><span style=\"color: #000000;\">[</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">]</span> := <span style=\"color: #000000;\">1</span><br /> oBtn:<span style=\"color: #000000;\">SetColor</span><span style=\"color: #000000;\">(</span> CLR_BLACK, CLR_HGREEN <span style=\"color: #000000;\">)</span><br /><br /> end<br /><br /> oBtn:<span style=\"color: #0000ff;\">refresh</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><span style=\"color: #00C800;\">RETURN</span><br /> </div>[/code:34s19exl]\n\nRegards, Detlef",
"time": "21:05",
"topic": "3 state btnbmp",
"username": "Detlef"
}
] |
3 state btnbmp
|
[
{
"date": "2022-03-28",
"forum": "FiveWin for Harbour/xHarbour",
"text": "I'm afraid I must make a new array type anumbers( toty,totx) \nI made it for the prices (see the ticket ) and run ok \n\nthe problem is when i select fir a sample 5 numbers and then I return to main dialog and the return back i cannot change the cargo because it not found it \n\nI had the same problem with the array if prices then I found the solution\nNow I have alista with numbers, aruote with ruotes, and aprices with prices , so I can continue to make the print of the ticket do you Remember?",
"time": "22:44",
"topic": "3 state btnbmp",
"username": "Silvio.Falconi"
}
] |
3 state btnbmp
|
[
{
"date": "2022-03-29",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Good morning Silvio.\nI'm not very involved at your system. And so I don’t understand your problem completely.\nIf you send me a not working code I could have a look at it.\n\nRegards, Detlef",
"time": "06:30",
"topic": "3 state btnbmp",
"username": "Detlef"
}
] |
3 state btnbmp
|
[
{
"date": "2022-03-29",
"forum": "FiveWin for Harbour/xHarbour",
"text": "[quote=\"Detlef\":2sjl9kcd]Good morning Silvio.\nI'm not very involved at your system. And so I don’t understand your problem completely.\nIf you send me a not working code I could have a look at it.\n\nRegards, Detlef[/quote:2sjl9kcd]\n\nI not have your mail\nmy is silvio(dot)falconi(at)gmail(dot)com",
"time": "08:13",
"topic": "3 state btnbmp",
"username": "Silvio.Falconi"
}
] |
3 state btnbmp
|
[
{
"date": "2018-10-02",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Hola.\n\nTengo:\n[code=fw:32j141yl]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">oGets:= array<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">30</span><span style=\"color: #000000;\">)</span><br />vGets:= array<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">30</span><span style=\"color: #000000;\">)</span></div>[/code:32j141yl]\n\n[code=fw:32j141yl]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #0000ff;\">redefine</span> <span style=\"color: #0000ff;\">get</span> oGets<span style=\"color: #000000;\">[</span>...<span style=\"color: #000000;\">]</span> <span style=\"color: #0000ff;\">var</span> vGets<span style=\"color: #000000;\">[</span>...<span style=\"color: #000000;\">]</span> <span style=\"color: #0000ff;\">id</span> ... <span style=\"color: #0000ff;\">of</span> oDlg</div>[/code:32j141yl]\n\ny necesito que cada vez que pierde el foto un get se evalue el\nvalor que contiene.\n\npara no hacer 30 ...\noGets[...]:bLostFocus:= { | x | .... }\npense en usar aEval, pero como se deberia de hacer?\n\ngracias.",
"time": "16:19",
"topic": "30 get necesito controlar el lostFocus",
"username": "goosfancito"
}
] |
30 get necesito controlar el lostFocus
|
[
{
"date": "2018-10-02",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Maybe this post can help\n\n<!-- l --><a class=\"postlink-local\" href=\"http://forums.fivetechsupport.com/viewtopic.php?f=3&t=36139\">viewtopic.php?f=3&t=36139</a><!-- l -->",
"time": "20:54",
"topic": "30 get necesito controlar el lostFocus",
"username": "Marc Venken"
}
] |
30 get necesito controlar el lostFocus
|
[
{
"date": "2018-10-02",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Se me ocurre algo asi:\n\n[code=fw:26b5b8aq]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /> AEval<span style=\"color: #000000;\">(</span> oGets, <span style=\"color: #000000;\">{</span>| e | <span style=\"color: #00C800;\">IF</span><span style=\"color: #000000;\">(</span> vGets<span style=\"color: #000000;\">[</span> e <span style=\"color: #000000;\">]</span>:<span style=\"color: #000000;\">bLostFocus</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> , <span style=\"color: #0000ff;\">Msginfo</span><span style=\"color: #000000;\">(</span>...Acción....<span style=\"color: #000000;\">)</span>, <span style=\"color: #00C800;\">Nil</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">)</span><br /> </div>[/code:26b5b8aq]\n\nSaludos",
"time": "21:27",
"topic": "30 get necesito controlar el lostFocus",
"username": "armando.lagunas"
}
] |
30 get necesito controlar el lostFocus
|
[
{
"date": "2022-08-01",
"forum": "FiveWin for Harbour/xHarbour",
"text": "hi,\n\ni have made a 32 Bit FiveWin App using BCC7 and *.MAK Project File and try to use it under 64 Bit\nwhen star \"go\" \n[code=fw:2y75buc5]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">set BCDIR=c:\\BCC7<span style=\"color: #000000;\">-64</span><br />%BCDIR%\\bin\\make -FWIPTV.mak<br /><span style=\"color: #00C800;\">if</span> errorlevel <span style=\"color: #000000;\">0</span> FWIPTV.exe</div>[/code:2y75buc5]\ni got\n[quote:2y75buc5]c:\\BCC7-64\\bin\\make not found[/quote:2y75buc5]\nthis is my c:\\BCC7-64\\BIN\n[quote:2y75buc5]10.05.2017 00:46 298 bcc64.cfg\n17.03.2017 00:55 17.657.296 bcc64.exe\n17.03.2017 00:55 17.638.352 cpp64.exe\n07.07.2011 03:07 23.040 dcc64.exe\n20.07.2016 01:51 70 ilink64.cfg\n05.04.2016 00:55 973.832 ilink64.exe\n16.03.2017 10:55 1.002.448 lnkdfm250.dll\n16.03.2017 10:55 327.632 mkexp.exe\n16.03.2017 10:55 69.480 rc.exe\n16.03.2017 10:55 339.304 RcDLL.dll\n16.03.2017 10:55 81.360 rlink32.dll\n16.03.2017 10:55 817.648 rw32core.dll\n17.03.2017 00:55 786.384 tdump64.exe\n05.04.2016 00:55 398.344 tlib64.exe\n17.03.2017 00:55 2.556.880 tlibimp.exe\n17.03.2017 00:55 1.647.568 TRegSvr.exe[/quote:2y75buc5]\n\nnow under FiveWin 64 Bit i was told to use MSVC but how about *.MAK File\n[code=fw:2y75buc5]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">HBDIR=C:\\HARBOUR64<br />BCDIR=c:\\BCC7<span style=\"color: #000000;\">-64</span><br />FWDIR=C:\\FWH64<br /><br />#change these paths as needed<br />.path.obj=.\\objh<br /><br />PRG = \\<br />FWIPTV.PRG \\<br />FWVLC.PRG \\<br />READM3U.PRG<br /><br />PROJECT : <span style=\"color: #000000;\">FWIPTV</span>.EXE<br /><br />FWIPTV.EXE : $<span style=\"color: #000000;\">(</span>PRG:.PRG=.OBJ<span style=\"color: #000000;\">)</span> FWIPTV.res<br /> echo off<br /> echo $<span style=\"color: #000000;\">(</span>BCDIR<span style=\"color: #000000;\">)</span>\\lib\\c0w32.obj + > b32.bc<br /> echo .\\objh\\FWIPTV.obj .\\objh\\FWVLC.obj .\\objh\\READM3U.obj, + >> b32.bc<br /> echo FWIPTV.exe, + >> b32.bc<br /> echo FWIPTV.map, + >> b32.bc<br /><br /> echo $<span style=\"color: #000000;\">(</span>FWDIR<span style=\"color: #000000;\">)</span>\\lib\\FiveH.lib $<span style=\"color: #000000;\">(</span>FWDIR<span style=\"color: #000000;\">)</span>\\lib\\FiveHC.lib $<span style=\"color: #000000;\">(</span>FWDIR<span style=\"color: #000000;\">)</span>\\lib\\libmysql.lib + >> b32.bc<br /> echo $<span style=\"color: #000000;\">(</span>FWDIR<span style=\"color: #000000;\">)</span>\\lib\\hbpgsql.lib $<span style=\"color: #000000;\">(</span>FWDIR<span style=\"color: #000000;\">)</span>\\lib\\libpq.lib + >> b32.bc<br /> echo $<span style=\"color: #000000;\">(</span>HBDIR<span style=\"color: #000000;\">)</span>\\lib\\win\\bcc\\hbhpdf.lib + >> b32.bc<br /> echo $<span style=\"color: #000000;\">(</span>HBDIR<span style=\"color: #000000;\">)</span>\\lib\\win\\bcc\\libhpdf.lib + >> b32.bc<br /> echo $<span style=\"color: #000000;\">(</span>HBDIR<span style=\"color: #000000;\">)</span>\\lib\\win\\bcc\\png.lib + >> b32.bc<br /> echo $<span style=\"color: #000000;\">(</span>HBDIR<span style=\"color: #000000;\">)</span>\\lib\\win\\bcc\\hbwin.lib + >> b32.bc<br /> echo $<span style=\"color: #000000;\">(</span>HBDIR<span style=\"color: #000000;\">)</span>\\lib\\win\\bcc\\gtgui.lib + >> b32.bc<br /> echo $<span style=\"color: #000000;\">(</span>HBDIR<span style=\"color: #000000;\">)</span>\\lib\\win\\bcc\\hbrtl.lib + >> b32.bc<br /> echo $<span style=\"color: #000000;\">(</span>HBDIR<span style=\"color: #000000;\">)</span>\\lib\\win\\bcc\\hbvm.lib + >> b32.bc<br /> echo $<span style=\"color: #000000;\">(</span>HBDIR<span style=\"color: #000000;\">)</span>\\lib\\win\\bcc\\hblang.lib + >> b32.bc<br /> echo $<span style=\"color: #000000;\">(</span>HBDIR<span style=\"color: #000000;\">)</span>\\lib\\win\\bcc\\hbmacro.lib + >> b32.bc<br /> echo $<span style=\"color: #000000;\">(</span>HBDIR<span style=\"color: #000000;\">)</span>\\lib\\win\\bcc\\hbrdd.lib + >> b32.bc<br /> echo $<span style=\"color: #000000;\">(</span>HBDIR<span style=\"color: #000000;\">)</span>\\lib\\win\\bcc\\rddntx.lib + >> b32.bc<br /> echo $<span style=\"color: #000000;\">(</span>HBDIR<span style=\"color: #000000;\">)</span>\\lib\\win\\bcc\\rddcdx.lib + >> b32.bc<br /> echo $<span style=\"color: #000000;\">(</span>HBDIR<span style=\"color: #000000;\">)</span>\\lib\\win\\bcc\\rddfpt.lib + >> b32.bc<br /> echo $<span style=\"color: #000000;\">(</span>HBDIR<span style=\"color: #000000;\">)</span>\\lib\\win\\bcc\\hbsix.lib + >> b32.bc<br /> echo $<span style=\"color: #000000;\">(</span>HBDIR<span style=\"color: #000000;\">)</span>\\lib\\win\\bcc\\hbdebug.lib + >> b32.bc<br /> echo $<span style=\"color: #000000;\">(</span>HBDIR<span style=\"color: #000000;\">)</span>\\lib\\win\\bcc\\hbcommon.lib + >> b32.bc<br /> echo $<span style=\"color: #000000;\">(</span>HBDIR<span style=\"color: #000000;\">)</span>\\lib\\win\\bcc\\hbpp.lib + >> b32.bc<br /> echo $<span style=\"color: #000000;\">(</span>HBDIR<span style=\"color: #000000;\">)</span>\\lib\\win\\bcc\\hbcpage.lib + >> b32.bc<br /> echo $<span style=\"color: #000000;\">(</span>HBDIR<span style=\"color: #000000;\">)</span>\\lib\\win\\bcc\\hbcplr.lib + >> b32.bc<br /> echo $<span style=\"color: #000000;\">(</span>HBDIR<span style=\"color: #000000;\">)</span>\\lib\\win\\bcc\\hbct.lib + >> b32.bc<br /> echo $<span style=\"color: #000000;\">(</span>HBDIR<span style=\"color: #000000;\">)</span>\\lib\\win\\bcc\\hbpcre.lib + >> b32.bc<br /> echo $<span style=\"color: #000000;\">(</span>HBDIR<span style=\"color: #000000;\">)</span>\\lib\\win\\bcc\\xhb.lib + >> b32.bc<br /> echo $<span style=\"color: #000000;\">(</span>HBDIR<span style=\"color: #000000;\">)</span>\\lib\\win\\bcc\\hbziparc.lib + >> b32.bc<br /> echo $<span style=\"color: #000000;\">(</span>HBDIR<span style=\"color: #000000;\">)</span>\\lib\\win\\bcc\\hbmzip.lib + >> b32.bc<br /> echo $<span style=\"color: #000000;\">(</span>HBDIR<span style=\"color: #000000;\">)</span>\\lib\\win\\bcc\\hbzlib.lib + >> b32.bc<br /> echo $<span style=\"color: #000000;\">(</span>HBDIR<span style=\"color: #000000;\">)</span>\\lib\\win\\bcc\\minizip.lib + >> b32.bc<br /> echo $<span style=\"color: #000000;\">(</span>HBDIR<span style=\"color: #000000;\">)</span>\\lib\\win\\bcc\\hbusrrdd.lib + >> b32.bc<br /> echo $<span style=\"color: #000000;\">(</span>HBDIR<span style=\"color: #000000;\">)</span>\\lib\\win\\bcc\\hbtip.lib + >> b32.bc<br /> echo $<span style=\"color: #000000;\">(</span>HBDIR<span style=\"color: #000000;\">)</span>\\lib\\win\\bcc\\hbzebra.lib + >> b32.bc<br /> echo $<span style=\"color: #000000;\">(</span>HBDIR<span style=\"color: #000000;\">)</span>\\lib\\win\\bcc\\hbcurl.lib + >> b32.bc<br /> echo $<span style=\"color: #000000;\">(</span>HBDIR<span style=\"color: #000000;\">)</span>\\lib\\win\\bcc\\libcurl.lib + >> b32.bc<br /> echo $<span style=\"color: #000000;\">(</span>FWDIR<span style=\"color: #000000;\">)</span>\\lib\\dolphin.lib + >> b32.bc<br /> echo $<span style=\"color: #000000;\">(</span>BCDIR<span style=\"color: #000000;\">)</span>\\lib\\cw32.lib + >> b32.bc<br /> echo $<span style=\"color: #000000;\">(</span>BCDIR<span style=\"color: #000000;\">)</span>\\lib\\uuid.lib + >> b32.bc<br /> echo $<span style=\"color: #000000;\">(</span>BCDIR<span style=\"color: #000000;\">)</span>\\lib\\import32.lib + >> b32.bc<br /> echo $<span style=\"color: #000000;\">(</span>BCDIR<span style=\"color: #000000;\">)</span>\\lib\\ws2_32.lib + >> b32.bc<br /> echo $<span style=\"color: #000000;\">(</span>BCDIR<span style=\"color: #000000;\">)</span>\\lib\\psdk\\odbc32.lib + >> b32.bc<br /> echo $<span style=\"color: #000000;\">(</span>BCDIR<span style=\"color: #000000;\">)</span>\\lib\\psdk\\nddeapi.lib + >> b32.bc<br /> echo $<span style=\"color: #000000;\">(</span>BCDIR<span style=\"color: #000000;\">)</span>\\lib\\psdk\\iphlpapi.lib + >> b32.bc<br /> echo $<span style=\"color: #000000;\">(</span>BCDIR<span style=\"color: #000000;\">)</span>\\lib\\psdk\\msimg32.lib + >> b32.bc<br /> echo $<span style=\"color: #000000;\">(</span>BCDIR<span style=\"color: #000000;\">)</span>\\lib\\psdk\\psapi.lib + >> b32.bc<br /> echo $<span style=\"color: #000000;\">(</span>BCDIR<span style=\"color: #000000;\">)</span>\\lib\\psdk\\rasapi32.lib + >> b32.bc<br /> echo $<span style=\"color: #000000;\">(</span>BCDIR<span style=\"color: #000000;\">)</span>\\lib\\psdk\\gdiplus.lib + >> b32.bc<br /> echo $<span style=\"color: #000000;\">(</span>BCDIR<span style=\"color: #000000;\">)</span>\\lib\\psdk\\shell32.lib , >> b32.bc<br /><br /> <span style=\"color: #00C800;\">IF</span> EXIST FWIPTV.res echo FWIPTV.res >> b32.bc<br /> $<span style=\"color: #000000;\">(</span>BCDIR<span style=\"color: #000000;\">)</span>\\bin\\ilink64 -Gn -aa -Tpe -s @b32.bc<br /> del b32.bc<br /><br />.PRG.OBJ:<br /> <span style=\"color: #00C800;\">if</span> not exist objh mkdir objh<br /> $<span style=\"color: #000000;\">(</span>HBDIR<span style=\"color: #000000;\">)</span>\\bin\\harbour $< /L /N /W /Oobjh\\ /I$<span style=\"color: #000000;\">(</span>FWDIR<span style=\"color: #000000;\">)</span>\\include;$<span style=\"color: #000000;\">(</span>HBDIR<span style=\"color: #000000;\">)</span>\\include<br /> $<span style=\"color: #000000;\">(</span>BCDIR<span style=\"color: #000000;\">)</span>\\bin\\bcc64 -c -tWM -I$<span style=\"color: #000000;\">(</span>HBDIR<span style=\"color: #000000;\">)</span>\\include -oobjh\\$& objh\\$&.c<br /><br />FWIPTV.res : <span style=\"color: #000000;\">FWIPTV</span>.rc<br /> $<span style=\"color: #000000;\">(</span>BCDIR<span style=\"color: #000000;\">)</span>\\bin\\rc -r FWIPTV.rc</div>[/code:2y75buc5]\nhow can i use a Project File under 64 Bit and MSVC <!-- s:?: --><img src=\"{SMILIES_PATH}/icon_question.gif\" alt=\":?:\" title=\"Question\" /><!-- s:?: -->",
"time": "10:23",
"topic": "32 Bit BCC7 *.MAK -> 64 Bit ?",
"username": "Jimmy"
}
] |
32 Bit BCC7 *.MAK -> 64 Bit ?
|
[
{
"date": "2022-08-01",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Dear Jimmy,\n\nThe simplest way is to use Harbour's hbmk2\n\nPlease review FWH\\makes\\hbmk2.zip",
"time": "12:06",
"topic": "32 Bit BCC7 *.MAK -> 64 Bit ?",
"username": "Antonio Linares"
}
] |
32 Bit BCC7 *.MAK -> 64 Bit ?
|
[
{
"date": "2022-08-01",
"forum": "FiveWin for Harbour/xHarbour",
"text": "hi Antonio,\n\ni do have working FWIPTV.PRG but it have > 1000 Lines\nso i want to \"split\" it into 3 Parts to use it \"seperate\" (in \"your\" App)\n\n[quote:eacfnzh9]FWIPTV.PRG \tMain App\nFWVLC.PRG \tCLASS fwTVLC\nREADM3U.PRG \tread *.M3U Files[/quote:eacfnzh9]\n\nfor 32 Bit i have nade a working *.MAK using BCC7\n\nfor FiveWin and MSVC i do not know how to use a Project File so i wrote\n[code=fw:eacfnzh9]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00D7D7;\">#define</span> _WIN64<br />#ifdef _WIN64<br /> <span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"FWVLC.PRG\"</span><br /> <span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"READM3U.PRG\"</span><br />#endif</div>[/code:eacfnzh9]\nit does work with BUILDH64 but not \"usable\" for \"other\" User.\nbtw. \n#ifdef _WIN64 seems not to work in *.PRG, what can i use (without #define it ) ?\n\nso i ask how to make a Project File for MSVC ... using hbmk2 but how <!-- s:?: --><img src=\"{SMILIES_PATH}/icon_question.gif\" alt=\":?:\" title=\"Question\" /><!-- s:?: --> \nneed some help please",
"time": "18:33",
"topic": "32 Bit BCC7 *.MAK -> 64 Bit ?",
"username": "Jimmy"
}
] |
32 Bit BCC7 *.MAK -> 64 Bit ?
|
[
{
"date": "2022-08-01",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hi,\n\nIn the fórums there is a sample file for hbmake.\n\nIf you want to use make, the make.exe itself is the same for 64 bits.\n\nRegards!!",
"time": "20:41",
"topic": "32 Bit BCC7 *.MAK -> 64 Bit ?",
"username": "elvira"
}
] |
32 Bit BCC7 *.MAK -> 64 Bit ?
|
[
{
"date": "2022-08-01",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hi,\n\nThx for Answer\n[quote=\"elvira\":wj64zf86]In the fórums there is a sample file for hbmake.[/quote:wj64zf86]\ni will look for it\n[quote=\"elvira\":wj64zf86]If you want to use make, the make.exe itself is the same for 64 bits.[/quote:wj64zf86]\nmy BCC7-64 \"Problem\" : there is no MAKE.EXE in my Folder c:\\BCC7-64\\BIN <!-- s:shock: --><img src=\"{SMILIES_PATH}/icon_eek.gif\" alt=\":shock:\" title=\"Shocked\" /><!-- s:shock: -->",
"time": "22:40",
"topic": "32 Bit BCC7 *.MAK -> 64 Bit ?",
"username": "Jimmy"
}
] |
32 Bit BCC7 *.MAK -> 64 Bit ?
|
[
{
"date": "2022-08-02",
"forum": "FiveWin for Harbour/xHarbour",
"text": "hi Antonio,\n[quote=\"Antonio Linares\":3dc0k84c]\n<!-- m --><a class=\"postlink\" href=\"http://fivetechsupport.com/forums/viewtopic.php?p=252090&sid=b87a7c59f98f82e6b36e9abb506ee257#p252090\">http://fivetechsupport.com/forums/viewt ... 57#p252090</a><!-- m -->[/quote:3dc0k84c]\n[quote:3dc0k84c]The simplest way is to use Harbour's hbmk2\nPlease review FWH\\makes\\hbmk2.zip[/quote:3dc0k84c]\ni have no \\makes\\hbmk2.zip ... <!-- s:( --><img src=\"{SMILIES_PATH}/icon_sad.gif\" alt=\":(\" title=\"Sad\" /><!-- s:( --> \n[quote:3dc0k84c]10.04.2022 08:13 3.359 bormake.zip\n10.04.2022 08:13 1.269 gccmake.zip\n10.04.2022 08:13 18.525.867 ide_msvc2012.zip\n10.04.2022 08:13 2.987 msmake.zip\n10.04.2022 08:13 3.314 vs2010_make.zip[/quote:3dc0k84c]\nOK , got it <!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D --> \n[quote:3dc0k84c]c:\\fwh\\makes\\vs2010_make.zip[/quote:3dc0k84c]\nsorry ... sometimes i´m just blind",
"time": "00:45",
"topic": "32 Bit BCC7 *.MAK -> 64 Bit ?",
"username": "Jimmy"
}
] |
32 Bit BCC7 *.MAK -> 64 Bit ?
|
[
{
"date": "2022-08-02",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Dear Jimmy,\n\n<!-- l --><a class=\"postlink-local\" href=\"http://fivetechsupport.com/forums/viewtopic.php?p=252090&sid=b87a7c59f98f82e6b36e9abb506ee257#p252090\">viewtopic.php?p=252090&sid=b87a7c59f98f82e6b36e9abb506ee257#p252090</a><!-- l -->",
"time": "00:35",
"topic": "32 Bit BCC7 *.MAK -> 64 Bit ?",
"username": "Antonio Linares"
}
] |
32 Bit BCC7 *.MAK -> 64 Bit ?
|
[
{
"date": "2022-11-15",
"forum": "FiveWin for Harbour/xHarbour",
"text": "hi,\n\ni have \"split\" my CODE and use *.MAK under BCC7 32 Bit\n\nQuestion : how under MSVC 64 Bit <!-- s:?: --><img src=\"{SMILIES_PATH}/icon_question.gif\" alt=\":?:\" title=\"Question\" /><!-- s:?: --> \n[code=fw:pyuatwpk]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00C800;\">if</span> not exist obj md obj<br />c:\\bcc7\\bin\\make -fTGRID.mak</div>[/code:pyuatwpk]\n[code=fw:pyuatwpk]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">HBDIR=c:\\harbour<br />BCDIR=c:\\BCC7<br />FWDIR=c:\\fwh<br /><br />#change these paths as needed<br />.path.OBJ = .\\obj<br />.path.PRG = .\\<br />.path.CH = $<span style=\"color: #000000;\">(</span>FWDIR<span style=\"color: #000000;\">)</span>\\include;$<span style=\"color: #000000;\">(</span>HBDIR<span style=\"color: #000000;\">)</span>\\include<br />.path.C = .\\<br />.path.rc = .\\<br /><br />#important: <span style=\"color: #000000;\">Use</span> Uppercase <span style=\"color: #00C800;\">for</span> filenames extensions, in the <span style=\"color: #00C800;\">next</span> two rules!<br /><br />PRG = \\<br />TGRID.PRG \\<br />EXPCLASS.PRG \\<br /><span style=\"color: #00C800;\">HB_FUNC</span>.PRG<br /><br />PROJECT : <span style=\"color: #000000;\">DUALEXP</span>.exe<br /><br />DUALEXP.exe : $<span style=\"color: #000000;\">(</span>PRG:.PRG=.OBJ<span style=\"color: #000000;\">)</span> DUALEXP.res<br /> echo off<br /> echo $<span style=\"color: #000000;\">(</span>BCDIR<span style=\"color: #000000;\">)</span>\\lib\\c0w32.obj + > b32.bc<br /> echo obj\\TGRID.obj obj\\EXPCLASS.obj obj\\<span style=\"color: #00C800;\">HB_FUNC</span>.obj, + >> b32.bc<br /> echo DUALEXP.exe, + >> b32.bc<br /> echo DUALEXP.map, + >> b32.bc<br /> echo $<span style=\"color: #000000;\">(</span>FWDIR<span style=\"color: #000000;\">)</span>\\lib\\FiveH.lib $<span style=\"color: #000000;\">(</span>FWDIR<span style=\"color: #000000;\">)</span>\\lib\\FiveHC.lib + >> b32.bc<br /> echo $<span style=\"color: #000000;\">(</span>HBDIR<span style=\"color: #000000;\">)</span>\\lib\\win\\bcc\\hbrtl.lib + >> b32.bc<br /> echo $<span style=\"color: #000000;\">(</span>HBDIR<span style=\"color: #000000;\">)</span>\\lib\\win\\bcc\\hbvm.lib + >> b32.bc<br /> echo $<span style=\"color: #000000;\">(</span>HBDIR<span style=\"color: #000000;\">)</span>\\lib\\win\\bcc\\gtgui.lib + >> b32.bc<br /> echo $<span style=\"color: #000000;\">(</span>HBDIR<span style=\"color: #000000;\">)</span>\\lib\\win\\bcc\\hblang.lib + >> b32.bc<br /> echo $<span style=\"color: #000000;\">(</span>HBDIR<span style=\"color: #000000;\">)</span>\\lib\\win\\bcc\\hbmacro.lib + >> b32.bc<br /> echo $<span style=\"color: #000000;\">(</span>HBDIR<span style=\"color: #000000;\">)</span>\\lib\\win\\bcc\\hbrdd.lib + >> b32.bc<br /> echo $<span style=\"color: #000000;\">(</span>HBDIR<span style=\"color: #000000;\">)</span>\\lib\\win\\bcc\\rddntx.lib + >> b32.bc<br /> echo $<span style=\"color: #000000;\">(</span>HBDIR<span style=\"color: #000000;\">)</span>\\lib\\win\\bcc\\rddcdx.lib + >> b32.bc<br /> echo $<span style=\"color: #000000;\">(</span>HBDIR<span style=\"color: #000000;\">)</span>\\lib\\win\\bcc\\rddfpt.lib + >> b32.bc<br /> echo $<span style=\"color: #000000;\">(</span>HBDIR<span style=\"color: #000000;\">)</span>\\lib\\win\\bcc\\hbsix.lib + >> b32.bc<br /> echo $<span style=\"color: #000000;\">(</span>HBDIR<span style=\"color: #000000;\">)</span>\\lib\\win\\bcc\\hbdebug.lib + >> b32.bc<br /> echo $<span style=\"color: #000000;\">(</span>HBDIR<span style=\"color: #000000;\">)</span>\\lib\\win\\bcc\\hbcommon.lib + >> b32.bc<br /> echo $<span style=\"color: #000000;\">(</span>HBDIR<span style=\"color: #000000;\">)</span>\\lib\\win\\bcc\\hbpp.lib + >> b32.bc<br /> echo $<span style=\"color: #000000;\">(</span>HBDIR<span style=\"color: #000000;\">)</span>\\lib\\win\\bcc\\hbwin.lib + >> b32.bc<br /> echo $<span style=\"color: #000000;\">(</span>HBDIR<span style=\"color: #000000;\">)</span>\\lib\\win\\bcc\\hbcpage.lib + >> b32.bc<br /> echo $<span style=\"color: #000000;\">(</span>HBDIR<span style=\"color: #000000;\">)</span>\\lib\\win\\bcc\\hbct.lib + >> b32.bc<br /> echo $<span style=\"color: #000000;\">(</span>HBDIR<span style=\"color: #000000;\">)</span>\\lib\\win\\bcc\\hbpcre.lib + >> b32.bc<br /> echo $<span style=\"color: #000000;\">(</span>HBDIR<span style=\"color: #000000;\">)</span>\\lib\\win\\bcc\\hbcplr.lib + >> b32.bc<br /> echo $<span style=\"color: #000000;\">(</span>HBDIR<span style=\"color: #000000;\">)</span>\\lib\\win\\bcc\\xhb.lib + >> b32.bc<br /> <br /> echo $<span style=\"color: #000000;\">(</span>HBDIR<span style=\"color: #000000;\">)</span>\\lib\\win\\bcc\\hbziparc.lib + >> b32.bc<br /> echo $<span style=\"color: #000000;\">(</span>HBDIR<span style=\"color: #000000;\">)</span>\\lib\\win\\bcc\\hbmzip.lib + >> b32.bc<br /> echo $<span style=\"color: #000000;\">(</span>HBDIR<span style=\"color: #000000;\">)</span>\\lib\\win\\bcc\\hbzlib.lib + >> b32.bc<br /> echo $<span style=\"color: #000000;\">(</span>HBDIR<span style=\"color: #000000;\">)</span>\\lib\\win\\bcc\\minizip.lib + >> b32.bc<br /> echo $<span style=\"color: #000000;\">(</span>HBDIR<span style=\"color: #000000;\">)</span>\\lib\\win\\bcc\\png.lib + >> b32.bc<br /> echo $<span style=\"color: #000000;\">(</span>HBDIR<span style=\"color: #000000;\">)</span>\\lib\\win\\bcc\\hbusrrdd.lib + >> b32.bc<br /> echo $<span style=\"color: #000000;\">(</span>HBDIR<span style=\"color: #000000;\">)</span>\\lib\\win\\bcc\\hbtip.lib + >> b32.bc<br /> echo $<span style=\"color: #000000;\">(</span>HBDIR<span style=\"color: #000000;\">)</span>\\lib\\win\\bcc\\hbzebra.lib + >> b32.bc<br /> echo $<span style=\"color: #000000;\">(</span>HBDIR<span style=\"color: #000000;\">)</span>\\lib\\win\\bcc\\hbcurl.lib + >> b32.bc<br /> echo $<span style=\"color: #000000;\">(</span>HBDIR<span style=\"color: #000000;\">)</span>\\lib\\win\\bcc\\libcurl.lib + >> b32.bc<br /> echo $<span style=\"color: #000000;\">(</span>HBDIR<span style=\"color: #000000;\">)</span>\\lib\\win\\bcc\\hbxpp.lib + >> b32.bc<br /><br /> echo $<span style=\"color: #000000;\">(</span>FWDIR<span style=\"color: #000000;\">)</span>\\lib\\dolphin.lib + >> b32.bc<br /> <br /> echo $<span style=\"color: #000000;\">(</span>BCDIR<span style=\"color: #000000;\">)</span>\\lib\\cw32.lib + >> b32.bc<br /> echo $<span style=\"color: #000000;\">(</span>BCDIR<span style=\"color: #000000;\">)</span>\\lib\\uuid.lib + >> b32.bc <br /> echo $<span style=\"color: #000000;\">(</span>BCDIR<span style=\"color: #000000;\">)</span>\\lib\\ws2_32.lib + >> b32.bc<br /> echo $<span style=\"color: #000000;\">(</span>BCDIR<span style=\"color: #000000;\">)</span>\\lib\\psdk\\gdiplus.lib + >> b32.bc<br /> echo $<span style=\"color: #000000;\">(</span>BCDIR<span style=\"color: #000000;\">)</span>\\lib\\import32.lib + >> b32.bc<br /> echo $<span style=\"color: #000000;\">(</span>BCDIR<span style=\"color: #000000;\">)</span>\\lib\\psdk\\odbc32.lib + >> b32.bc<br /> echo $<span style=\"color: #000000;\">(</span>BCDIR<span style=\"color: #000000;\">)</span>\\lib\\psdk\\nddeapi.lib + >> b32.bc<br /> echo $<span style=\"color: #000000;\">(</span>BCDIR<span style=\"color: #000000;\">)</span>\\lib\\psdk\\iphlpapi.lib + >> b32.bc<br /> echo $<span style=\"color: #000000;\">(</span>BCDIR<span style=\"color: #000000;\">)</span>\\lib\\psdk\\msimg32.lib + >> b32.bc<br /> echo $<span style=\"color: #000000;\">(</span>BCDIR<span style=\"color: #000000;\">)</span>\\lib\\psdk\\psapi.lib + >> b32.bc<br /> echo $<span style=\"color: #000000;\">(</span>BCDIR<span style=\"color: #000000;\">)</span>\\lib\\psdk\\rasapi32.lib + >> b32.bc<br /> echo $<span style=\"color: #000000;\">(</span>BCDIR<span style=\"color: #000000;\">)</span>\\lib\\psdk\\shell32.lib, >> b32.bc<br /><br /> <span style=\"color: #00C800;\">IF</span> EXIST DUALEXP.res echo DUALEXP.res >> b32.bc<br /> $<span style=\"color: #000000;\">(</span>BCDIR<span style=\"color: #000000;\">)</span>\\bin\\ilink32 -Gn -aa -Tpe -s @b32.bc<br /> del b32.bc<br /><br />.PRG.OBJ:<br /> $<span style=\"color: #000000;\">(</span>HBDIR<span style=\"color: #000000;\">)</span>\\bin\\harbour $< /L /N /W /Oobj\\ /I$<span style=\"color: #000000;\">(</span>FWDIR<span style=\"color: #000000;\">)</span>\\include;$<span style=\"color: #000000;\">(</span>HBDIR<span style=\"color: #000000;\">)</span>\\include<br /> $<span style=\"color: #000000;\">(</span>BCDIR<span style=\"color: #000000;\">)</span>\\bin\\bcc32 -c -tWM -I$<span style=\"color: #000000;\">(</span>HBDIR<span style=\"color: #000000;\">)</span>\\include -oobj\\$& obj\\$&.c<br /><br />.C.OBJ:<br /> echo -c -tWM -D__HARBOUR__ -DHB_API_MACROS > tmp<br /> echo -I$<span style=\"color: #000000;\">(</span>HBDIR<span style=\"color: #000000;\">)</span>\\include;$<span style=\"color: #000000;\">(</span>FWDIR<span style=\"color: #000000;\">)</span>\\include >> tmp<br /> $<span style=\"color: #000000;\">(</span>BCDIR<span style=\"color: #000000;\">)</span>\\bin\\bcc32 -oobj\\$& @tmp $&.c<br /> del tmp<br /><br />DUALEXP.res : <span style=\"color: #000000;\">DUALEXP</span>.rc<br /> $<span style=\"color: #000000;\">(</span>BCDIR<span style=\"color: #000000;\">)</span>\\bin\\brc32.exe -r DUALEXP.rc</div>[/code:pyuatwpk]",
"time": "07:07",
"topic": "32 Bit BCC7 *.MAK -> MSVC 64 Bit ?",
"username": "Jimmy"
}
] |
32 Bit BCC7 *.MAK -> MSVC 64 Bit ?
|
[
{
"date": "2022-11-15",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Dear Jimmy,\n\nPlease review FWH\\samples\\buildh64.bat and adapt your make file to it.\n\nPlease review FWH\\makes\\hbmk2.zip as hbmk2 is the easiest way to build Harbour + FWH apps",
"time": "07:40",
"topic": "32 Bit BCC7 *.MAK -> MSVC 64 Bit ?",
"username": "Antonio Linares"
}
] |
32 Bit BCC7 *.MAK -> MSVC 64 Bit ?
|
[
{
"date": "2022-11-15",
"forum": "FiveWin for Harbour/xHarbour",
"text": "hi Antonio.\n[quote:1ib7gkto]Please review FWH\\makes\\hbmk2.zip as hbmk2 is the easiest way to build Harbour + FWH apps[/quote:1ib7gkto]\nthx for Answer\n\ni have not found hbmk2.zip ... <!-- s:( --><img src=\"{SMILIES_PATH}/icon_sad.gif\" alt=\":(\" title=\"Sad\" /><!-- s:( --> \n[quote:1ib7gkto]c:\\fwh64\\makes\\bormake.zip\nc:\\fwh64\\makes\\gccmake.zip\nc:\\fwh64\\makes\\ide_msvc2012.zip\nc:\\fwh64\\makes\\msmake.zip\nc:\\fwh64\\makes\\vs2010_make.zip[/quote:1ib7gkto]\nas also Everything does not found hbmk2.zip it is not on my PC \n\n\n[quote:1ib7gkto]Please review FWH\\samples\\buildh64.bat and adapt your make file to it.[/quote:1ib7gkto]\nok ... but how to \"call\" it later when have all those \"echo\" in new *.MAK (?)\n\nshould i use vs2010_make.zip <!-- s:?: --><img src=\"{SMILIES_PATH}/icon_question.gif\" alt=\":?:\" title=\"Question\" /><!-- s:?: --> \n[code=fw:1ib7gkto]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">c:\\<span style=\"color: #ff0000;\">\"Program Files (x86)<span style=\"color: #000000;\">\\M</span>icrosoft Visual Studio 10.0\"</span>\\VC\\bin\\nmake -ftest.mak<br /><span style=\"color: #00C800;\">if</span> errorlevel==<span style=\"color: #000000;\">0</span> one.exe</div>[/code:1ib7gkto]\nseem to be for 32 Bit\n\n---\n\nbuildh64.bat seems for single File only <!-- s:?: --><img src=\"{SMILIES_PATH}/icon_question.gif\" alt=\":?:\" title=\"Question\" /><!-- s:?: --> \n\nwhen try\n[code=fw:1ib7gkto]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">buildh64.bat A B C</div>[/code:1ib7gkto]\nit does create A.c B.c and C.c but does not link B.c and C.c so i get \"missing\"\n\nsorry for all those Question but as Newbie i have to learn it ...",
"time": "11:46",
"topic": "32 Bit BCC7 *.MAK -> MSVC 64 Bit ?",
"username": "Jimmy"
}
] |
32 Bit BCC7 *.MAK -> MSVC 64 Bit ?
|
[
{
"date": "2022-11-15",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Dear Jimmy,\n\nHere you have it:\n[url:k6sdavf9]https://github.com/FiveTechSoft/FWH_tools/blob/master/hbmk2.zip[/url:k6sdavf9]",
"time": "17:17",
"topic": "32 Bit BCC7 *.MAK -> MSVC 64 Bit ?",
"username": "Antonio Linares"
}
] |
32 Bit BCC7 *.MAK -> MSVC 64 Bit ?
|
[
{
"date": "2022-11-16",
"forum": "FiveWin for Harbour/xHarbour",
"text": "hi Antonio,\n[quote=\"Antonio Linares\":k4ou9fl5]Here you have it:\n[url:k4ou9fl5]https://github.com/FiveTechSoft/FWH_tools/blob/master/hbmk2.zip[/url:k4ou9fl5][/quote:k4ou9fl5]\nthx for link \n\nhave download it and use go64.bat \n[code=fw:k4ou9fl5]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">call <span style=\"color: #ff0000;\">\"%ProgramFiles(x86)%<span style=\"color: #000000;\">\\M</span>icrosoft Visual Studio<span style=\"color: #000000;\">\\2</span>019<span style=\"color: #000000;\">\\C</span>ommunity<span style=\"color: #000000;\">\\V</span>C<span style=\"color: #000000;\">\\A</span>uxiliary<span style=\"color: #000000;\">\\B</span>uild<span style=\"color: #000000;\">\\v</span>cvarsall.bat\"</span> amd64<br />c:\\harbour\\bin\\hbmk2 test64.hbp -comp=msvc64<br />test.exe<br /><br />-Ic:\\fwh\\include<br />-Lc:\\fwh\\lib</div>[/code:k4ou9fl5]\nwhich i modify to my Path thi Way\n[code=fw:k4ou9fl5]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">call <span style=\"color: #ff0000;\">\"%ProgramFiles%<span style=\"color: #000000;\">\\M</span>icrosoft Visual Studio<span style=\"color: #000000;\">\\2</span>022<span style=\"color: #000000;\">\\C</span>ommunity<span style=\"color: #000000;\">\\V</span>C<span style=\"color: #000000;\">\\A</span>uxiliary<span style=\"color: #000000;\">\\B</span>uild<span style=\"color: #000000;\">\\v</span>cvarsall.bat\"</span> amd64<br />c:\\harbour64\\bin\\hbmk2 test64.hbp -comp=msvc64<br />test.exe<br /><br />-Ic:\\fwh64\\include<br />-Lc:\\fwh64\\lib</div>[/code:k4ou9fl5]\nbut when run go64 i got this\n[quote:k4ou9fl5]c:\\fwh64\\0\\TGRID>go64\n\nc:\\fwh64\\0\\TGRID>call \"C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Auxiliary\\Build\\vcvarsall.bat\" amd64\n**********************************************************************\n** Visual Studio 2022 Developer Command Prompt v17.2.6\n** Copyright (c) 2022 Microsoft Corporation\n**********************************************************************\n[vcvarsall.bat] Environment initialized for: 'x64'\nError BASE/1126 Argument error: STRTRAN (Quit)\nError BASE/1126 Argument error: STRTRAN\nCalled from STRTRAN(0)\nCalled from __HBMK(0)\nCalled from HBMK_LOCAL_ENTRY(0)\nCalled from __HBMK_FAKE_ENTRY(0) Der Befehl \"test.exe\" ist entweder falsch geschrieben oder\nkonnte nicht gefunden werden.[/quote:k4ou9fl5]\nwhere does STRTRAN() came from <!-- s:shock: --><img src=\"{SMILIES_PATH}/icon_eek.gif\" alt=\":shock:\" title=\"Shocked\" /><!-- s:shock: --> \n\nbut it work when use\n[code=fw:k4ou9fl5]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">c:\\fwh64\\samples\\buildh64.bat TEST</div>[/code:k4ou9fl5]\n\n---\n\ntest again with BCC7 64 Bit and MAKE.EXE from 32 Bit BCC\n\n[quote:k4ou9fl5]c:\\fwh64\\0\\TGRID>go\n\nc:\\fwh64\\0\\TGRID>if not exist obj md obj\nc:\\fwh64\\0\\TGRID>c:\\bcc7\\bin\\make -fTGRID.m\nMAKE Version 5.2 Copyright (c) 1987, 2000\n c:\\harbour64\\bin\\harbour .\\DUALGRID\nHarbour 3.4.0dev (8eeef91) (2021-09-26 11:2\nCopyright (c) 1999-2021, <!-- m --><a class=\"postlink\" href=\"https://github.com\">https://github.com</a><!-- m -->\nCompiling '.\\DUALGRID.PRG'...\nLines 11471, Functions/Procedures 67\nGenerating C source output to 'obj\\DUALGRID\n c:\\BCC7\\bin\\bcc64 -c -tWM -Ic:\\harb\nEmbarcadero C++ 7.10 for Win64 Copyright (c\nobj\\DUALGRID.c:\nIn file included from obj\\DUALGRID.c:3:\nIn file included from c:\\harbour64\\include\\\nc:\\harbour64\\include/hbdefs.h:50:10: fatal\n#include <stdarg.h>\n ^\n1 error generated.\n\n** error 1 ** deleting .\\obj\\DUALGRID.OBJ[/quote:k4ou9fl5]",
"time": "06:47",
"topic": "32 Bit BCC7 *.MAK -> MSVC 64 Bit ?",
"username": "Jimmy"
}
] |
32 Bit BCC7 *.MAK -> MSVC 64 Bit ?
|
[
{
"date": "2022-11-16",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Dear Jimmy,\n\nPlease send me your files and I will build the makefile for you",
"time": "08:30",
"topic": "32 Bit BCC7 *.MAK -> MSVC 64 Bit ?",
"username": "Antonio Linares"
}
] |
32 Bit BCC7 *.MAK -> MSVC 64 Bit ?
|
[
{
"date": "2022-11-16",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Dear Jimmy,\n\nHere you have it:\n\ngo.bat\n[code=fw:2uw5b3of]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">call <span style=\"color: #ff0000;\">\"%ProgramFiles%<span style=\"color: #000000;\">\\M</span>icrosoft Visual Studio<span style=\"color: #000000;\">\\2</span>022<span style=\"color: #000000;\">\\C</span>ommunity<span style=\"color: #000000;\">\\V</span>C<span style=\"color: #000000;\">\\A</span>uxiliary<span style=\"color: #000000;\">\\B</span>uild<span style=\"color: #000000;\">\\v</span>cvarsall.bat\"</span> x86<br />c:\\harbour\\bin\\win\\msvc\\hbmk2 dualgrid.hbp -comp=msvc</div>[/code:2uw5b3of]\n\ndualgrid.hbp\n[code=fw:2uw5b3of]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">-gui<br /><br />-Ic:\\fwh\\include<br /><br />dualgrid.prg<br /><span style=\"color: #00C800;\">hb_func</span>.prg<br />tgrid.prg<br /><br />-Lc:\\fwh\\lib<br /><br />-lFiveH32<br />-lFiveHC32<br /><br />-lgdiplus<br />-lole32<br />-lOleDlg<br />-lversion<br /><br />xhb.hbc<br />hbct.hbc<br />hbwin.hbc<br />hbmzip.hbc<br />hbziparc.hbc<br />hbfoxpro.hbc<br /><br />-ldflag=/NODEFAULTLIB:<span style=\"color: #000000;\">msvcrt</span><br /><br />dualgrid.rc<br /> </div>[/code:2uw5b3of]\n\nIt looks like the Total Commander! excellent work Jimmy <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->",
"time": "12:21",
"topic": "32 Bit BCC7 *.MAK -> MSVC 64 Bit ?",
"username": "Antonio Linares"
}
] |
32 Bit BCC7 *.MAK -> MSVC 64 Bit ?
|
[
{
"date": "2022-11-16",
"forum": "FiveWin for Harbour/xHarbour",
"text": "[quote=\"Antonio Linares\":1wn48b7u]-ldflag=/NODEFAULTLIB:msvcrt[/quote:1wn48b7u]\n\nI recommend to use -MD compiler switch and replace the above with\n\n[code=fw:1wn48b7u]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">-nodefaultlib:<span style=\"color: #000000;\">libcmt</span></div>[/code:1wn48b7u]",
"time": "12:32",
"topic": "32 Bit BCC7 *.MAK -> MSVC 64 Bit ?",
"username": "Enrico Maria Giordano"
}
] |
32 Bit BCC7 *.MAK -> MSVC 64 Bit ?
|
[
{
"date": "2022-11-16",
"forum": "FiveWin for Harbour/xHarbour",
"text": "hi Antonio,\n[quote=\"Antonio Linares\":7iebi9c5]Here you have it:[/quote:7iebi9c5]\nthx for Link File and Help\n\nas i like to use it for 64 Bit i have change \nx86 -> amd64 \nc:\\fwh\\ -> c:\\fwh64\\ \n-lFiveH64 -lFiveHC64 \n... but fail <!-- s:( --><img src=\"{SMILIES_PATH}/icon_sad.gif\" alt=\":(\" title=\"Sad\" /><!-- s:( -->\n[code=fw:7iebi9c5]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">call <span style=\"color: #ff0000;\">\"%ProgramFiles%<span style=\"color: #000000;\">\\M</span>icrosoft Visual Studio<span style=\"color: #000000;\">\\2</span>022<span style=\"color: #000000;\">\\C</span>ommunity<span style=\"color: #000000;\">\\V</span>C<span style=\"color: #000000;\">\\A</span>uxiliary<span style=\"color: #000000;\">\\B</span>uild<span style=\"color: #000000;\">\\v</span>cvarsall.bat\"</span> amd64 <br />c:\\harbour64\\bin\\win\\msvc\\hbmk2 dualgrid.hbp -comp=msvc</div>[/code:7iebi9c5]\n[code=fw:7iebi9c5]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"> -gui<br /><br /> -Ic:\\fwh64\\include<br /><br /> dualgrid.prg<br /> <span style=\"color: #00C800;\">hb_func</span>.prg<br /> tgrid.prg<br /><br /> -Lc:\\fwh64\\lib<br /><br /> -lFiveH64<br /> -lFiveHC64<br /><br /> -lgdiplus<br /> -lole32<br /> -lOleDlg<br /> -lversion<br /><br /> xhb.hbc<br /> hbct.hbc<br /> hbwin.hbc<br /> hbmzip.hbc<br /> hbziparc.hbc<br /> hbfoxpro.hbc<br /><br /> -ldflag=/NODEFAULTLIB:<span style=\"color: #000000;\">msvcrt</span><br /><br /> dualgrid.rc</div>[/code:7iebi9c5]\nit produce a lot of Error (about LIBs ?) ... what do i need \"more\" for 64 Bit <!-- s:?: --><img src=\"{SMILIES_PATH}/icon_question.gif\" alt=\":?:\" title=\"Question\" /><!-- s:?: --> \n\n[quote=\"Antonio Linares\":7iebi9c5]It looks like the Total Commander![/quote:7iebi9c5]\nYES, Design is like Total Commander and also Hot-Key \"should\" be the same \nShFileOperation work so you can \"copy\" or \"move\" Files/Folder with Animation\n\"delete\" does work but not \"move to Paperbin\" (FOF_ALLOWUNDO) ... something have change with Rights ...\n\ni have \"split\" CODE while i want to \"share CLASS TGRID\" to Fivewin\nbut still need some Time to learn Fivewin and work on Demo",
"time": "17:24",
"topic": "32 Bit BCC7 *.MAK -> MSVC 64 Bit ?",
"username": "Jimmy"
}
] |
32 Bit BCC7 *.MAK -> MSVC 64 Bit ?
|
[
{
"date": "2022-11-16",
"forum": "FiveWin for Harbour/xHarbour",
"text": "[quote=\"Jimmy\":17rdxwd2]ShFileOperation work so you can \"copy\" or \"move\" Files/Folder with Animation\n\"delete\" does work but not \"move to Paperbin\" (FOF_ALLOWUNDO) ... something have change with Rights ...[/quote:17rdxwd2]\n\nInteresting. Can you show a sample of ShFileOperation usage?",
"time": "18:43",
"topic": "32 Bit BCC7 *.MAK -> MSVC 64 Bit ?",
"username": "Enrico Maria Giordano"
}
] |
32 Bit BCC7 *.MAK -> MSVC 64 Bit ?
|
[
{
"date": "2022-11-17",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Jimmy,\n\n> it produce a lot of Error (about LIBs ?) ... what do i need \"more\" for 64 Bit <!-- s:?: --><img src=\"{SMILIES_PATH}/icon_question.gif\" alt=\":?:\" title=\"Question\" /><!-- s:?: -->\n\nWhat errors ? Please post them here",
"time": "07:36",
"topic": "32 Bit BCC7 *.MAK -> MSVC 64 Bit ?",
"username": "Antonio Linares"
}
] |
32 Bit BCC7 *.MAK -> MSVC 64 Bit ?
|
[
{
"date": "2022-11-17",
"forum": "FiveWin for Harbour/xHarbour",
"text": "hi Antonio\n[quote=\"Antonio Linares\":2kjl2w5e]> it produce a lot of Error (about LIBs ?) ... what do i need \"more\" for 64 Bit <!-- s:?: --><img src=\"{SMILIES_PATH}/icon_question.gif\" alt=\":?:\" title=\"Question\" /><!-- s:?: -->\nWhat errors ? Please post them here[/quote:2kjl2w5e]\nplease use Go64 and *.HBP which i have posted\n\ni have change \"your\" Go a and HBP to use for 64 Bit ... but i got a very long list so i have not post it",
"time": "08:56",
"topic": "32 Bit BCC7 *.MAK -> MSVC 64 Bit ?",
"username": "Jimmy"
}
] |
32 Bit BCC7 *.MAK -> MSVC 64 Bit ?
|
[
{
"date": "2022-11-17",
"forum": "FiveWin for Harbour/xHarbour",
"text": "hi Enrico,\n[quote=\"Enrico Maria Giordano\":28i276mq]Interesting. Can you show a sample of ShFileOperation usage?[/quote:28i276mq]\nhave update this Thread\n[url:28i276mq]https://forums.fivetechsupport.com/viewtopic.php?f=3&t=42417&p=255468[/url:28i276mq]",
"time": "08:57",
"topic": "32 Bit BCC7 *.MAK -> MSVC 64 Bit ?",
"username": "Jimmy"
}
] |
32 Bit BCC7 *.MAK -> MSVC 64 Bit ?
|
[
{
"date": "2022-11-17",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Dear Jimmy,\n\nI just ported the make to 64 bits and worked fine on first try:\n\ngo.bat\n[code=fw:37aqddmk]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">call <span style=\"color: #ff0000;\">\"%ProgramFiles%<span style=\"color: #000000;\">\\M</span>icrosoft Visual Studio<span style=\"color: #000000;\">\\2</span>022<span style=\"color: #000000;\">\\C</span>ommunity<span style=\"color: #000000;\">\\V</span>C<span style=\"color: #000000;\">\\A</span>uxiliary<span style=\"color: #000000;\">\\B</span>uild<span style=\"color: #000000;\">\\v</span>cvarsall.bat\"</span> amd64<br />c:\\harbour\\bin\\win\\msvc64\\hbmk2 dualgrid.hbp -comp=msvc64</div>[/code:37aqddmk]\n\ndualgrid.hbp\n[code=fw:37aqddmk]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">-gui<br /><br />-Ic:\\fwh\\include<br /><br />dualgrid.prg<br /><span style=\"color: #00C800;\">hb_func</span>.prg<br />tgrid.prg<br /><br />-Lc:\\fwh\\lib<br /><br />-lFiveH64<br />-lFiveHC64<br /><br />-lgdiplus<br />-lole32<br />-lOleDlg<br />-lversion<br /><br />xhb.hbc<br />hbct.hbc<br />hbwin.hbc<br />hbmzip.hbc<br />hbziparc.hbc<br />hbfoxpro.hbc<br /><br />-ldflag=/NODEFAULTLIB:<span style=\"color: #000000;\">msvcrt</span><br /><br />dualgrid.rc<br /> </div>[/code:37aqddmk]",
"time": "09:03",
"topic": "32 Bit BCC7 *.MAK -> MSVC 64 Bit ?",
"username": "Antonio Linares"
}
] |
32 Bit BCC7 *.MAK -> MSVC 64 Bit ?
|
[
{
"date": "2022-11-17",
"forum": "FiveWin for Harbour/xHarbour",
"text": "hi Antonio,\n[quote=\"Antonio Linares\":2tpzpl72]I just ported the make to 64 bits and worked fine on first try:[/quote:2tpzpl72]\nYES <!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D --> \nnow it work using MSVC 64 Bit, thx",
"time": "09:53",
"topic": "32 Bit BCC7 *.MAK -> MSVC 64 Bit ?",
"username": "Jimmy"
}
] |
32 Bit BCC7 *.MAK -> MSVC 64 Bit ?
|
[
{
"date": "2008-11-16",
"forum": "FiveWin for Harbour/xHarbour",
"text": "On Clipper/DOS/FiveWin I use the VDVBX.DLL to display images. What's the 32 bit equivalent of this DLL ?",
"time": "08:26",
"topic": "32 Bit DLL equivalent",
"username": "HunterEC"
}
] |
32 Bit DLL equivalent
|
[
{
"date": "2008-11-16",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Look in the sample directory for IMAGE control.\r\n\r\nEMG",
"time": "15:14",
"topic": "32 Bit DLL equivalent",
"username": "Enrico Maria Giordano"
}
] |
32 Bit DLL equivalent
|
[
{
"date": "2006-10-20",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Dear All,\n\nhow to put 32bit toolbar on dialog?\nreviewed toolbar1.prg but not luck.\n\nthanks.",
"time": "04:55",
"topic": "32 bit toolbar on dialog",
"username": "yam_hiong"
}
] |
32 bit toolbar on dialog
|
[
{
"date": "2006-10-20",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Try building it in the ACTIVATE DIALOG .. ON INIT clause.\n\nEMG",
"time": "07:40",
"topic": "32 bit toolbar on dialog",
"username": "Enrico Maria Giordano"
}
] |
32 bit toolbar on dialog
|
[
{
"date": "2006-10-20",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Dear Enrico,\n\nThanks. Its works. <!-- s:P --><img src=\"{SMILIES_PATH}/icon_razz.gif\" alt=\":P\" title=\"Razz\" /><!-- s:P --> \n\nHiong",
"time": "08:44",
"topic": "32 bit toolbar on dialog",
"username": "yam_hiong"
}
] |
32 bit toolbar on dialog
|
[
{
"date": "2006-10-20",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Dear Enrico,\n\ncan i move last button to the right side of toolbar?\n\nthanks",
"time": "09:25",
"topic": "32 bit toolbar on dialog",
"username": "yam_hiong"
}
] |
32 bit toolbar on dialog
|
[
{
"date": "2006-10-20",
"forum": "FiveWin for Harbour/xHarbour",
"text": "I don't know, sorry.\n\nEMG",
"time": "09:42",
"topic": "32 bit toolbar on dialog",
"username": "Enrico Maria Giordano"
}
] |
32 bit toolbar on dialog
|
[
{
"date": "2008-10-15",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hello, I want to know where I can find the 32 bits version of :\r\n\r\nIsZip\r\nGetFirstInZip\r\nGetNextInZip\r\nand UnZipFile too\r\n\r\nI already found HB_GETUNZIPFILE in spanish [url=http://fivetechsoft.com/forums/viewtopic.php?t=1764:1vszridq]forum[/url:1vszridq] but it generate error.\r\n\r\n\r\nPS.: I use xHarbour 1.1.0 + FwXh 8.02\r\nand already add lib HBZIP.LIB im my project",
"time": "19:20",
"topic": "32 bits version of IsZip/GetFirstInZip/GetNextInZip",
"username": "sambomb"
}
] |
32 bits version of IsZip/GetFirstInZip/GetNextInZip
|
[
{
"date": "2016-06-05",
"forum": "Off Topic / Otros temas",
"text": "[url:3ezcgk86]https://www.facebook.com/nytimes/videos/vb.5281959998/10150820319614999/?type=2&theater[/url:3ezcgk86]\n\nyou have to download the NYTimes app and watch it from [b:3ezcgk86]your phone[/b:3ezcgk86]\n\nwith your finger you can look to any direction from inside the video <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->",
"time": "08:11",
"topic": "360º videos - must see",
"username": "Antonio Linares"
}
] |
360º videos - must see
|
[
{
"date": "2013-12-02",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hi all,\njust to know if someone already made a connector for that PBX (<!-- w --><a class=\"postlink\" href=\"http://www.3cx.com\">www.3cx.com</a><!-- w -->)",
"time": "21:46",
"topic": "3CX PBX interface",
"username": "Marco Turco"
}
] |
3CX PBX interface
|
[
{
"date": "2013-12-03",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Marco,\n What exactly do you do?\nMaking a call from your application?\nLet me know\nbye marco",
"time": "09:38",
"topic": "3CX PBX interface",
"username": "MarcoBoschi"
}
] |
3CX PBX interface
|
[
{
"date": "2013-12-03",
"forum": "FiveWin for Harbour/xHarbour",
"text": "I would like to make calls from my application and also show a pop-up with the name of the caller (I should check the calling number with those in my customers database to get the name)",
"time": "12:10",
"topic": "3CX PBX interface",
"username": "Marco Turco"
}
] |
3CX PBX interface
|
[
{
"date": "2013-12-04",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Marco,\n IF you try this \n[code=fw:1gb2cfri]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">http:<span style=\"color: #B900B9;\">//<pbx>:5000/ivr/PbxAPI.aspx?func=make_call&from=<ext>&to=<dest>&pin=<ext_pin></span></div>[/code:1gb2cfri] \nmaybe everything is easier.\n\nFor incoming calls it all depends on which phone you have to use: real phone or softphone.\n\nI use innovaphone PBX systems. You can use 3 kind of directories:\n\n1 - local to pbx (not reccomanded)\n2 - local to every signle phone ( loaded into phone memory, line cell phones)\n3 - ldap server (very expensive and difficult to manage)\n\nIn Innovaphone If you have less than 1000 entries the solution #2 is the best (it's free and is very fast)",
"time": "17:15",
"topic": "3CX PBX interface",
"username": "MarcoBoschi"
}
] |
3CX PBX interface
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.