messages
listlengths 1
1
| topic
stringlengths 2
60
|
---|---|
[
{
"date": "2022-12-24",
"forum": "FiveWin for Harbour/xHarbour",
"text": "[code=fw:11zldhal]<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 /><br /> <span style=\"color: #00C800;\">local</span> oWnd, oBrush<br /><br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">BRUSH</span> oBrush <span style=\"color: #0000ff;\">COLOR</span> 0x00A5FF<br /><br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">WINDOW</span> oWnd <br /><br /> <span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">WINDOW</span> oWnd ;<br /> <span style=\"color: #0000ff;\">ON</span> <span style=\"color: #0000ff;\">PAINT</span> FillRect<span style=\"color: #000000;\">(</span> hDC, <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">80</span>, <span style=\"color: #000000;\">80</span>, <span style=\"color: #000000;\">200</span>, <span style=\"color: #000000;\">200</span> <span style=\"color: #000000;\">}</span>, oBrush:<span style=\"color: #000000;\">hBrush</span> <span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #0000ff;\">RELEASE</span> <span style=\"color: #0000ff;\">BRUSH</span> oBrush<br /><br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span></div>[/code:11zldhal]",
"time": "12:17",
"topic": "?hange the color of a window fragment",
"username": "Antonio Linares"
}
] |
?hange the color of a window fragment
|
[
{
"date": "2022-12-24",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Thank you, this is what you need",
"time": "14:09",
"topic": "?hange the color of a window fragment",
"username": "Natter"
}
] |
?hange the color of a window fragment
|
[
{
"date": "2015-12-01",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hello,\n\nI tried to compile my program with FWH1507/BCC7/xHarbour but I get the error:\nFivewin.ch (1918) Error E0004 STATIC declaration follows executable statement\n\nThis line inFiweWin.ch described the static variable:\nstatic aFwStack := {}\n\nThis error appears only if the program has SET PROCEDURE TO ..\n\nWhat is it ?",
"time": "06:50",
"topic": "?ompile with FWH1507",
"username": "Natter"
}
] |
?ompile with FWH1507
|
[
{
"date": "2015-12-01",
"forum": "FiveWin for Harbour/xHarbour",
"text": "You need to keep #include \"fivewin.ch\" at the very top of the program",
"time": "09:19",
"topic": "?ompile with FWH1507",
"username": "nageswaragunupudi"
}
] |
?ompile with FWH1507
|
[
{
"date": "2015-12-01",
"forum": "FiveWin for Harbour/xHarbour",
"text": "In all files of my program fiivewin.ch keep the first row and to version 1507 problems with the compilation was not",
"time": "10:19",
"topic": "?ompile with FWH1507",
"username": "Natter"
}
] |
?ompile with FWH1507
|
[
{
"date": "2015-12-01",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Please comment out lines 1918 to 1923 in your copy of fivewin.ch",
"time": "10:39",
"topic": "?ompile with FWH1507",
"username": "nageswaragunupudi"
}
] |
?ompile with FWH1507
|
[
{
"date": "2015-12-01",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Thank's",
"time": "10:52",
"topic": "?ompile with FWH1507",
"username": "Natter"
}
] |
?ompile with FWH1507
|
[
{
"date": "2005-10-28",
"forum": "FiveWin for Pocket PC",
"text": "Hello.\n\nI have no example about this and if I write\n\n@ 10,10 say \"Nombre \" GET mRaso\n@ 20,10 say \"Calle \" GET mCalle\n\nREAD\n\nI get the fields one over the other.\n\nNote: I have never used resources and have no resources editor",
"time": "12:09",
"topic": "@ SAY GET without resources",
"username": "josevalle"
}
] |
@ SAY GET without resources
|
[
{
"date": "2005-10-28",
"forum": "FiveWin for Pocket PC",
"text": "You should use separate @ row, col commands for SAY and GET.\n\nEMG",
"time": "12:13",
"topic": "@ SAY GET without resources",
"username": "Enrico Maria Giordano"
}
] |
@ SAY GET without resources
|
[
{
"date": "2005-10-28",
"forum": "FiveWin for Pocket PC",
"text": "Jose,\n\nPlease review samples\\tutor05.prg source code.\n\nREAD is not used in FiveWin.",
"time": "12:30",
"topic": "@ SAY GET without resources",
"username": "Antonio Linares"
}
] |
@ SAY GET without resources
|
[
{
"date": "2005-10-28",
"forum": "FiveWin for Pocket PC",
"text": "[quote=\"josevalle\":16q024qh]Note: I have never used resources and have no resources editor[/quote:16q024qh]\n\nPlease review the PRGs provided in samples directory that also have a RC file with the same name. Resources use is easy and it will speed up very much your development.\n\nYou may download the free Pelles C resources editor, builted in the Pelles C IDE from here: <!-- m --><a class=\"postlink\" href=\"http://www.smorgasbordet.com/pellesc/\">http://www.smorgasbordet.com/pellesc/</a><!-- m -->",
"time": "12:34",
"topic": "@ SAY GET without resources",
"username": "Antonio Linares"
}
] |
@ SAY GET without resources
|
[
{
"date": "2005-10-28",
"forum": "FiveWin for Pocket PC",
"text": "With the Pelles resource editor I have changed the names and the sizes. But it also chages some things in the header of the file.\n\nI have a workaround, just copy from the new files what refers to the dialog and paste in you tutor04.rc.\n\nThanks Antonio.",
"time": "22:04",
"topic": "@ SAY GET without resources",
"username": "josevalle"
}
] |
@ SAY GET without resources
|
[
{
"date": "2007-02-09",
"forum": "FiveWin for Pocket PC",
"text": "Hello, \nI'm new to FiveWin and i got into trouble with listboxes:\n\nI have a program with this code:\n\n[code:1kd1u9xq]\n#include \"FWCE.ch\"\nREQUEST DBFCDX\nSTATIC oWnd, oBrw\n\nfunction Main()\n USE ( CurDir() + \"\\dbfs\\pedido\" ) alias pedido VIA \"DBFCDX\"\t \t\n desenhar_janela()\n ACTIVATE WINDOW oWnd\nreturn nil\n\nfunction desenhar_tabela()\n.\n.\n @ 70, 3 LISTBOX oBrw FIELDS pedido->cama HEADERS \"Cama\" ;\n SIZE 237, 150 pixel\n.\n.\nreturn nil\n[/code:1kd1u9xq]\n\nwhere: pedido is a DBF table with a field called \"cama\" and 3 records on it.\n\nI open the table in the\nAll seems to work fine, but all i see is the listbox space with the \"Cama\" header, nut no records on it.\n\nWhat am i doing wrong?\n\nThank you,\nJoaquim",
"time": "19:59",
"topic": "@ ...,... listbox",
"username": "JoaquimC"
}
] |
@ ...,... listbox
|
[
{
"date": "2007-02-09",
"forum": "FiveWin for Pocket PC",
"text": "Joaquim\n\nIt is not the correct way to do it\n\nTry to code something like the ollowing\n\nDefine window first,\nOpen the file \nDefine the listbox object\nActivate the window\n\nThis is a workig sample\n\nDEFINE WINDOW OWND1 TITLE \"A Faire\"\nDEFINE FONT aFONT NAME \"TAHOMA\" SIZE 0,-12\n\n// HideKeyboard()\n\n@ 0, 0 LISTBOX oBrw ;\n FIELDS DEPANBMP(BLEU,JAUNE,vert,rouge,blanc), ;\n SUBS(TRNDATE(PKDEPAN->DATEDEP),1,5), ;\n TRANSFORM(PKDEPAN->Hdeb,\"@Z 99.99\") , ;\n GETCLI(PKDEPAN->CLIREEL) ;\n HEADERS \" \",\"Date\",\"Heure\",\"Client\" ;\n FIELDSIZES 15,40,30,150 ;\n ON CLICK SHOWstat(OBRW) ;\n FONT AFONT ;\n COLORS CLR_BLACK, CLR_WHITE ;\n SIZE GETSYSMETRICS( SM_CXSCREEN ) , GETSYSMETRICS( SM_CYSCREEN ) - 30 OF OWND1\n\nOBRW:nClrBackHead := CLR_YELLOW // header\nOBRW:nClrForeHead := CLR_HBLUE // header\n\nACTIVATE WINDOW OWND1 MODAL\nAFONT:END()\n\n\nHth\n\nRichard",
"time": "20:57",
"topic": "@ ...,... listbox",
"username": "Richard Chidiak"
}
] |
@ ...,... listbox
|
[
{
"date": "2007-02-10",
"forum": "FiveWin for Pocket PC",
"text": "Thank you Richard, your reply was very helpful.\n\nBut the real problem was in something that i didn't said in the first post:\nBefore the grid was displayed, the program called a function that opened another table, and because i didn' put the clause 'new' in 'use' (i'm a VFP man - i'm used to 'use table in 0') the program opened the new table in the work area of the first table, therefore there was nothing to show.\n\nThank you anyway.\nJoaquim",
"time": "00:31",
"topic": "@ ...,... listbox",
"username": "JoaquimC"
}
] |
@ ...,... listbox
|
[
{
"date": "2014-06-10",
"forum": "FiveWin for Harbour/xHarbour",
"text": "I have an issue with @ SAY that I don't quite understand. Using it is not too difficult, and I get it to update and show on the screen without issue, which is controlled by navigation through and xbrowse. The problem I have is that each time the text is changed and the screen gets refreshed, text previously displayed is just overlayed with the updated text. How do I clear previously written text so it doesn't just overlay but instead clears the defined region the only displays the updated text?\n\nRobb",
"time": "22:32",
"topic": "@ SAY",
"username": "rhlawek"
}
] |
@ SAY
|
[
{
"date": "2014-06-11",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Robb,\n\noSay:SetText( \"new text\" )\n\nThe Method SetText() is implemented in Class TWindow so it can be used on dialogs and most controls <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->",
"time": "08:52",
"topic": "@ SAY",
"username": "Antonio Linares"
}
] |
@ SAY
|
[
{
"date": "2014-06-11",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Antonio,\n\nI sent you an email with a small screen shot of what I see. I am using SayText() to update the text, it is the clearing of previously written text that is eluding me.\n\nRobb",
"time": "10:56",
"topic": "@ SAY",
"username": "rhlawek"
}
] |
@ SAY
|
[
{
"date": "2014-06-11",
"forum": "FiveWin for Harbour/xHarbour",
"text": "If I remember correctly, the new text has to be longer than the old text--if needed add spaces.\r\n\r\nJames",
"time": "14:49",
"topic": "@ SAY",
"username": "James Bott"
}
] |
@ SAY
|
[
{
"date": "2014-06-11",
"forum": "FiveWin for Harbour/xHarbour",
"text": "I just remembered that I usually use something like:\r\n\r\npadr(cNewText,30)\r\n\r\nSubstitute 30 with whatever your maximum length is.",
"time": "15:00",
"topic": "@ SAY",
"username": "James Bott"
}
] |
@ SAY
|
[
{
"date": "2014-06-11",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Robb,\n\nThis example seems to work fine here: (right click on the dialog to change the text)\n\n[code=fw:18m1pyic]<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 /><br /> <span style=\"color: #00C800;\">local</span> oDlg<br /><br /> SetDlgGradient<span style=\"color: #000000;\">(</span> <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;\">199</span>, <span style=\"color: #000000;\">216</span>, <span style=\"color: #000000;\">237</span> <span style=\"color: #000000;\">)</span>, RGB<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">237</span>, <span style=\"color: #000000;\">242</span>, <span style=\"color: #000000;\">248</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg<br /><br /> @ <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">SAY</span> oSay <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"Hello\"</span> <span style=\"color: #0000ff;\">OF</span> oDlg<br /><br /> <span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <span style=\"color: #0000ff;\">CENTERED</span> ;<br /> <span style=\"color: #0000ff;\">ON</span> <span style=\"color: #0000ff;\">CLICK</span> oSay:<span style=\"color: #000000;\">SetText</span><span style=\"color: #000000;\">(</span> <span style=\"color: #ff0000;\">\"bye\"</span> <span style=\"color: #000000;\">)</span><br /><br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span></div>[/code:18m1pyic]",
"time": "17:57",
"topic": "@ SAY",
"username": "Antonio Linares"
}
] |
@ SAY
|
[
{
"date": "2023-08-08",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Dear Rao Sir , \n\n I am using below SAY Statement with GET Control , need COLOR clause to SAY only not GET. as something like given below ...! How we can achieve this ? \n\n[code=fw:2lc8mri3]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /> @ <span style=\"color: #000000;\">10</span>,<span style=\"color: #000000;\">10</span> <span style=\"color: #0000ff;\">SAY</span> <span style=\"color: #ff0000;\">\":\"</span> <span style=\"color: #0000ff;\">GET</span> oRec:<span style=\"color: #000000;\">Item_name</span> <span style=\"color: #0000ff;\">COLOR</span> nRGB<span style=\"color: #000000;\">(</span>,,,<span style=\"color: #000000;\">)</span> , nRGB<span style=\"color: #000000;\">(</span>,,,<span style=\"color: #000000;\">)</span> ; <br /> SAYCOLOR nRGB<span style=\"color: #000000;\">(</span>,,,<span style=\"color: #000000;\">)</span> , nRGB<span style=\"color: #000000;\">(</span>,,,<span style=\"color: #000000;\">)</span> ===> <span style=\"color: #B900B9;\">// COLOR CLAUSE FOR SAY ONLY....!</span><br /> </div>[/code:2lc8mri3]\n\n\nThanks\nShridhar",
"time": "06:08",
"topic": "@ SAY WITH GET COLOR clause for SAY Only",
"username": "shrifw"
}
] |
@ SAY WITH GET COLOR clause for SAY Only
|
[
{
"date": "2023-08-08",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Please try after creating the SAY/GET\n[code=fw:35hgelrs]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">oGet:<span style=\"color: #000000;\">oSay</span>:<span style=\"color: #000000;\">SetColor</span><span style=\"color: #000000;\">(</span> foreclr, backclr <span style=\"color: #000000;\">)</span></div>[/code:35hgelrs]",
"time": "07:45",
"topic": "@ SAY WITH GET COLOR clause for SAY Only",
"username": "nageswaragunupudi"
}
] |
@ SAY WITH GET COLOR clause for SAY Only
|
[
{
"date": "2023-08-08",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Dear Rao Sir ,\n\n Thank you very much...!\n\nThanks\nShrihdar",
"time": "07:55",
"topic": "@ SAY WITH GET COLOR clause for SAY Only",
"username": "shrifw"
}
] |
@ SAY WITH GET COLOR clause for SAY Only
|
[
{
"date": "2018-10-29",
"forum": "FiveWin for Harbour/xHarbour",
"text": "I am trying to convert .RC dialogs to .PRG windows. I have always used resources in the past, and have very nicely designed, but complex, screens. \n\nI am converting because 1) I want to use a Ribbon Bar that only seems to work with the @ x,y coordinates and is not friendly to resource dialogs, and 2) All examples now seem to be using @ x,y formats.\n\nI have been looking for a way to calculate the correct x,y values based on the settings in the .rc. file. I have not been able to figure out any consistent formula that works.\n\nThere is a sample RC2PRG.prg program, and it does a nice job, but the coordinates are not even close to being accurate. The controls all overlap significantly. I don't know if anyone has used this before and perhaps has a multiplier or correction to adapt to today's monitors.\n\nAny guidance on this would be greatly appreciated. I asked about calculating the @ x,y coordinates in the past with no success. I hope this time will be different.",
"time": "21:51",
"topic": "@ SAY, @ GET COORDINATES",
"username": "TimStone"
}
] |
@ SAY, @ GET COORDINATES
|
[
{
"date": "2018-10-29",
"forum": "FiveWin for Harbour/xHarbour",
"text": "+1",
"time": "22:02",
"topic": "@ SAY, @ GET COORDINATES",
"username": "Compuin"
}
] |
@ SAY, @ GET COORDINATES
|
[
{
"date": "2018-10-29",
"forum": "FiveWin for Harbour/xHarbour",
"text": "[quote=\"TimStone\":wq78e7gt]I am trying to convert .RC dialogs to .PRG windows. I have always used resources in the past, and have very nicely designed, but complex, screens. \n\nI am converting because 1) I want to use a Ribbon Bar that only seems to work with the @ x,y coordinates and is not friendly to resource dialogs,[/quote:wq78e7gt]\n\nIf this is the reason please stop. You can use ribbon bar with resources too. There is no problem in doing that.\n\nEMG",
"time": "22:56",
"topic": "@ SAY, @ GET COORDINATES",
"username": "Enrico Maria Giordano"
}
] |
@ SAY, @ GET COORDINATES
|
[
{
"date": "2018-10-29",
"forum": "FiveWin for Harbour/xHarbour",
"text": "How ? I tried and it failed ? I asked for a sample here and no one answered.",
"time": "23:19",
"topic": "@ SAY, @ GET COORDINATES",
"username": "TimStone"
}
] |
@ SAY, @ GET COORDINATES
|
[
{
"date": "2018-10-29",
"forum": "FiveWin for Harbour/xHarbour",
"text": "You only need to create the ribbon bar in the ON INIT clause of the ACTIVATE DIALOG command.\n\nEMG",
"time": "23:28",
"topic": "@ SAY, @ GET COORDINATES",
"username": "Enrico Maria Giordano"
}
] |
@ SAY, @ GET COORDINATES
|
[
{
"date": "2018-10-29",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Right now I have a CLASS, and a METHOD is used to provide a full edit capability. I use a button bar, and all of the code is in that method.\n\nAre you saying to extract the button bar code, and create a FUNCTION or METHOD to create a Ribbon Bar for the ON INIT ? \n\nI sure wish this had documentation, or Samples ... but of course we don't have any.",
"time": "23:38",
"topic": "@ SAY, @ GET COORDINATES",
"username": "TimStone"
}
] |
@ SAY, @ GET COORDINATES
|
[
{
"date": "2018-10-30",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Please search the FWH dir for *.prg files containing the word RIBBON and you will find many samples.\n\nAnyway, the technique is very simple:\n\n[code=fw:296p4su2]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><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> CREATERIBBONBAR<span style=\"color: #000000;\">(</span> oDlg <span style=\"color: #000000;\">)</span>;<br /> <span style=\"color: #0000ff;\">CENTER</span></div>[/code:296p4su2]\n\nThen, in the function CREATERIBBONBAR():\n\n[code=fw:296p4su2]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00C800;\">STATIC</span> <span style=\"color: #00C800;\">FUNCTION</span> CREATERIBBONBAR<span style=\"color: #000000;\">(</span> oDlg <span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">LOCAL</span> oRib, oGrp<br /><br /> <span style=\"color: #0000ff;\">DEFINE</span> RIBBONBAR oRib <span style=\"color: #0000ff;\">OF</span> oDlg …<br /><br /> oDlg:<span style=\"color: #000000;\">oBar</span> = oRib<br /><br /> ADD GROUP oGrp RIBBONBAR oRib ...<br /><br /> @ <span style=\"color: #000000;\">2</span>, <span style=\"color: #000000;\">2</span> ADD <span style=\"color: #0000ff;\">BUTTON</span> GROUP oGrp …<br /><br /> ...<br /><br /> <span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">NIL</span></div>[/code:296p4su2]\n\nEMG",
"time": "00:02",
"topic": "@ SAY, @ GET COORDINATES",
"username": "Enrico Maria Giordano"
}
] |
@ SAY, @ GET COORDINATES
|
[
{
"date": "2018-10-30",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Thank you.\n\nI first worked with some stand alone samples and they were ok. However, when I went in to do it within the program, I got very strange results. I will spend some more time, but I think the problem may be that I am addressing a Method within a class that displays a complex DIALOG, and then trying to overlay it with a button bar using @ x,y commands. I used to call button bars the way you suggest, so I am familiar with the concept. ( Now my button bars are embedded within the full method, ever since Button Bars were modified to use within a resource with a tbar object ).\n\nI also noted that this approach slows down the loading of the screen significantly ...\n\nTim",
"time": "16:51",
"topic": "@ SAY, @ GET COORDINATES",
"username": "TimStone"
}
] |
@ SAY, @ GET COORDINATES
|
[
{
"date": "2007-12-28",
"forum": "FiveWin for Harbour/xHarbour",
"text": "I rarely use @ Say / @ Get, but I'm trying to do something on a Window.\n\nI use the following line to display a string:\n\n @ 40,285 SAY vDate OF oWndc PIXEL SIZE 315,20 CENTER COLOR CLR_BLACK UPDATE\n\nI have to use the CLR_BLACK to see the text. However, I want to use a Brush on the window, and when I do, it shows a white background to the text.\n\nThis is not a problem in dialogs with resources, because all text is transparent. If I don't use the COLOR CLR_BLACK, nothing shows up.\n\nSo how do I get just the text, using the brush background, with an @ x,y SAY on a WIndow ? I've seen use of the TRANSPARENT command on a Dialog, but it won't parse on a window ...\n\nTim",
"time": "20:29",
"topic": "@ Say transparent on Windows",
"username": "TimStone"
}
] |
@ Say transparent on Windows
|
[
{
"date": "2007-12-28",
"forum": "FiveWin for Harbour/xHarbour",
"text": "[code:19g21o8z]#include \"Fivewin.ch\"\n\n\nFUNCTION MAIN()\n\n LOCAL oWnd\n\n LOCAL oSay, oBru\n\n DEFINE BRUSH oBru STYLE BORLAND\n\n DEFINE WINDOW oWnd BRUSH oBru\n\n ACTIVATE WINDOW oWnd;\n ON PAINT oWnd:Say( 100, 100, \"This is a test\", CLR_RED, , , .T., .T. )\n\n RETURN NIL[/code:19g21o8z]\n\nEMG",
"time": "23:27",
"topic": "@ Say transparent on Windows",
"username": "Enrico Maria Giordano"
}
] |
@ Say transparent on Windows
|
[
{
"date": "2007-12-28",
"forum": "FiveWin for Harbour/xHarbour",
"text": "This is a problem that I have long thought could be easily solved by making all SAYs trasparent by default. I can't think of any reason why anyone would want them not transparent. If they were transparent then we wouldn't have to resort to all these workarounds.\n\nJames",
"time": "23:42",
"topic": "@ Say transparent on Windows",
"username": "James Bott"
}
] |
@ Say transparent on Windows
|
[
{
"date": "2007-12-29",
"forum": "FiveWin for Harbour/xHarbour",
"text": "That code might work in a small sample, but to display a screen full of @ Say's makes it very awkward and hard to trace problems that might arise. \n\nSo at least I'm not totally out of the loop here ... and I agree with James.",
"time": "01:11",
"topic": "@ Say transparent on Windows",
"username": "TimStone"
}
] |
@ Say transparent on Windows
|
[
{
"date": "2007-12-29",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Honestly, I can't see so many differences between a series of @ SAY and a series of oWnd:Say().\n\nEMG",
"time": "01:13",
"topic": "@ Say transparent on Windows",
"username": "Enrico Maria Giordano"
}
] |
@ Say transparent on Windows
|
[
{
"date": "2007-12-29",
"forum": "FiveWin for Harbour/xHarbour",
"text": "When I put together code, its preferably in order, so the say would be one line, and the get right below it. It makes it easier to remember what each get is for, and it makes it easier to make quick formatting changes ( moving a say and get around on the window ).\n\nHere I could have to put a group of say commands all into an activate statement ... \n\nI guess I would consider that an issue when it doesn't have to be that way ( I would think ). I really don't see why we would want the say framed in a white background anyway ( or any color for that matter ).\n\nTim",
"time": "01:57",
"topic": "@ Say transparent on Windows",
"username": "TimStone"
}
] |
@ Say transparent on Windows
|
[
{
"date": "2007-12-29",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Tim,\n\nHave you tried just putting a non-modal dialog (without borders) on the window and putting the controls on it? You could use the same brush on the dialog as the window so it would be invisible.\n\nJames",
"time": "03:40",
"topic": "@ Say transparent on Windows",
"username": "James Bott"
}
] |
@ Say transparent on Windows
|
[
{
"date": "2007-12-29",
"forum": "FiveWin for Harbour/xHarbour",
"text": "[quote=\"TimStone\":kia13vz0]When I put together code, its preferably in order, so the say would be one line, and the get right below it. It makes it easier to remember what each get is for, and it makes it easier to make quick formatting changes ( moving a say and get around on the window ).\n\nHere I could have to put a group of say commands all into an activate statement ...[/quote:kia13vz0]\n\nNope, you can just put a function call in the ACTIVATE statement:\n\n[code:kia13vz0]ACTIVATE WINDOW oWnd; \n ON PAINT MYPAINT()\n\nSTATIC FUNCTION MYPAINT()\n\n oWnd:Say( 100, 100, \"This is a test 1\", CLR_RED, , , .T., .T. )\n oWnd:Say( 120, 100, \"This is a test 2\", CLR_RED, , , .T., .T. )\n\n RETURN NIL[/code:kia13vz0]\n\nEMG",
"time": "13:08",
"topic": "@ Say transparent on Windows",
"username": "Enrico Maria Giordano"
}
] |
@ Say transparent on Windows
|
[
{
"date": "2007-12-29",
"forum": "FiveWin for Harbour/xHarbour",
"text": "[quote=\"TimStone\":18skvdbu]I really don't see why we would want the say framed in a white background anyway ( or any color for that matter ).[/quote:18skvdbu]\n\nI agree.\n\nEMG",
"time": "13:11",
"topic": "@ Say transparent on Windows",
"username": "Enrico Maria Giordano"
}
] |
@ Say transparent on Windows
|
[
{
"date": "2007-12-29",
"forum": "FiveWin for Harbour/xHarbour",
"text": "I guess most users of FWH would agree. Will Mr Antonio consider making Says transparent by default and with background color by choice? \n\nWould such a change break the existing code of many programs or is it against windows default behaviour ?\n\nAnother simple doubt. When oSay:lTransparent works well on Dialog why does it not ( or why should it not ) work the same way on a Window?",
"time": "14:59",
"topic": "@ Say transparent on Windows",
"username": "nageswaragunupudi"
}
] |
@ Say transparent on Windows
|
[
{
"date": "2007-12-29",
"forum": "FiveWin for Harbour/xHarbour",
"text": "James,\n\nThat is exactly what I tried originally ( early thread ) but I couldn't get the dialog to position correctly.\n\nThere was a control at 10,10 on the window ( that only worked on windows ) and the dialog just wouldn't position around that ...",
"time": "19:23",
"topic": "@ Say transparent on Windows",
"username": "TimStone"
}
] |
@ Say transparent on Windows
|
[
{
"date": "2007-12-29",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Tim,\n\n>There was a control at 10,10 on the window ( that only worked on windows ) and the dialog just wouldn't position around that ...\n\nWhat control? And what do you mean \"around that?\" Did you mean \"next to?\" Could we see a small sample showing the problem?\n\nJames",
"time": "22:36",
"topic": "@ Say transparent on Windows",
"username": "James Bott"
}
] |
@ Say transparent on Windows
|
[
{
"date": "2007-12-29",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Please check your email",
"time": "22:45",
"topic": "@ Say transparent on Windows",
"username": "TimStone"
}
] |
@ Say transparent on Windows
|
[
{
"date": "2007-12-30",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hey guys,\n\nI vote for standard a \"TRANSPARANT\" command in the SAY command. So you simply need to add \"TRANSPARANT\" to all your SAY's. Its the most \"backward\" compatible solution I think.\n\nPatrick",
"time": "16:36",
"topic": "@ Say transparent on Windows",
"username": "patrickmast"
}
] |
@ Say transparent on Windows
|
[
{
"date": "2007-12-30",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Well then we would like to have Says transparent both on dialogs and windows if TRANSPARENT clause is used in the command, without having to put oWnd;Says in the ON INIT clause.\n\nIs that what all would like ?",
"time": "17:03",
"topic": "@ Say transparent on Windows",
"username": "nageswaragunupudi"
}
] |
@ Say transparent on Windows
|
[
{
"date": "2009-03-04",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Cambios a la clase TSay para las transparencias...\nMod TSay class for transparents\n\neste cambio viene del hecho que exista la clausula TRANSPARENT en el REDEFINE del SAY y no en @ x,y SAY\nThis change comes from the fact that there is a clause TRANSPARENT in REDEFINE SAY and not in @ x, y SAY\n\nComenzamos/Start\nEste Link es un Exe si quieren probar antes de hacer cambios \nthis link is EXE, if you want to try first before making any changes ...\n\n[url:1r5qha4z]http://www.sitasoft.com/fivewin/test/testsay.rar[/url:1r5qha4z]\n\ntestsay.exe con temas / with themes\ntestsay1.exe sin temas / without themes\n\n[b:1r5qha4z]archivos a editar/file to edit[/b:1r5qha4z]\nfivewin.ch\nsay.prg\n\n[b:1r5qha4z]method a modificar en say.prg/ method to change in say.prg[/b:1r5qha4z]\nmethod new\nmethod Initiate\n\n\n[b:1r5qha4z]abrir/open fivewin.ch[/b:1r5qha4z]\n[i:1r5qha4z]\n[b:1r5qha4z]buscar/find[/b:1r5qha4z][/i:1r5qha4z]\n[code=fw:1r5qha4z]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">#xcommand @ <nRow>, <nCol> <span style=\"color: #0000ff;\">SAY</span> <span style=\"color: #000000;\">[</span> <oSay> <label: <span style=\"color: #0000ff;\">PROMPT</span>,<span style=\"color: #0000ff;\">VAR</span> > <span style=\"color: #000000;\">]</span> <cText> ;<br /> <span style=\"color: #000000;\">[</span> <pict: <span style=\"color: #000000;\">PICT</span>, PICTURE> <cPict> <span style=\"color: #000000;\">]</span> ;<br /> <span style=\"color: #000000;\">[</span> <dlg: <span style=\"color: #0000ff;\">OF</span>,<span style=\"color: #0000ff;\">WINDOW</span>,<span style=\"color: #0000ff;\">DIALOG</span> > <oWnd> <span style=\"color: #000000;\">]</span> ;<br /> <span style=\"color: #000000;\">[</span> <span style=\"color: #0000ff;\">FONT</span> <oFont> <span style=\"color: #000000;\">]</span> ;<br /> <span style=\"color: #000000;\">[</span> <lCenter: <span style=\"color: #0000ff;\">CENTERED</span>, <span style=\"color: #0000ff;\">CENTER</span> > <span style=\"color: #000000;\">]</span> ;<br /> <span style=\"color: #000000;\">[</span> <lRight: <span style=\"color: #0000ff;\">RIGHT</span> > <span style=\"color: #000000;\">]</span> ;<br /> <span style=\"color: #000000;\">[</span> <lBorder: <span style=\"color: #000000;\">BORDER</span> > <span style=\"color: #000000;\">]</span> ;<br /> <span style=\"color: #000000;\">[</span> <lPixel: <span style=\"color: #0000ff;\">PIXEL</span>, PIXELS > <span style=\"color: #000000;\">]</span> ;<br /> <span style=\"color: #000000;\">[</span> <color: <span style=\"color: #0000ff;\">COLOR</span>,COLORS > <nClrText> <span style=\"color: #000000;\">[</span>,<nClrBack> <span style=\"color: #000000;\">]</span> <span style=\"color: #000000;\">]</span> ;<br /> <span style=\"color: #000000;\">[</span> <span style=\"color: #0000ff;\">SIZE</span> <nWidth>, <nHeight> <span style=\"color: #000000;\">]</span> ;<br /> <span style=\"color: #000000;\">[</span> <design: <span style=\"color: #000000;\">DESIGN</span> > <span style=\"color: #000000;\">]</span> ;<br /> <span style=\"color: #000000;\">[</span> <update: <span style=\"color: #0000ff;\">UPDATE</span> > <span style=\"color: #000000;\">]</span> ;<br /> <span style=\"color: #000000;\">[</span> <lShaded: <span style=\"color: #000000;\">SHADED</span>, SHADOW > <span style=\"color: #000000;\">]</span> ;<br /> <span style=\"color: #000000;\">[</span> <lBox: BOX > <span style=\"color: #000000;\">]</span> ;<br /> <span style=\"color: #000000;\">[</span> <lRaised: <span style=\"color: #000000;\">RAISED</span> > <span style=\"color: #000000;\">]</span> ;<br /> <span style=\"color: #000000;\">[</span> <adj: <span style=\"color: #000000;\">ADJUST</span>> <span style=\"color: #000000;\">]</span> ;</div>[/code:1r5qha4z]\n\n[i:1r5qha4z][b:1r5qha4z]agregar despues / add after[/b:1r5qha4z][/i:1r5qha4z]\n[code=fw:1r5qha4z]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"> <span style=\"color: #000000;\">[</span> <lTrans: <span style=\"color: #000000;\">TRANSPARENT</span>><span style=\"color: #000000;\">]</span>; </div>[/code:1r5qha4z] \n\n[i:1r5qha4z][b:1r5qha4z]buscar/find[/b:1r5qha4z][/i:1r5qha4z]\n[code=fw:1r5qha4z]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"> <span style=\"color: #000000;\">[</span> <oSay> := <span style=\"color: #000000;\">]</span> TSay<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span>:<span style=\"color: #00C800;\">New</span><span style=\"color: #000000;\">(</span> <nRow>, <nCol>, <<span style=\"color: #000000;\">{</span>cText<span style=\"color: #000000;\">}</span>>,;<br /> <span style=\"color: #000000;\">[</span><oWnd><span style=\"color: #000000;\">]</span>, <span style=\"color: #000000;\">[</span><cPict><span style=\"color: #000000;\">]</span>, <oFont>, <.lCenter.>, <.lRight.>, <.lBorder.>,;<br /> <.lPixel.>, <nClrText>, <nClrBack>, <nWidth>, <nHeight>,;<br /> <.design.>, <.<span style=\"color: #0000ff;\">update</span>.>, <.lShaded.>, <.lBox.>, <.lRaised.>, <.adj.> <span style=\"color: #000000;\">)</span></div>[/code:1r5qha4z]\n\n[i:1r5qha4z][b:1r5qha4z]en la linea buscar/ inline find[/b:1r5qha4z][/i:1r5qha4z]\n[code=fw:1r5qha4z]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><.adj.> <span style=\"color: #000000;\">)</span></div>[/code:1r5qha4z]\n\n[i:1r5qha4z][b:1r5qha4z]cambiar por / change with[/b:1r5qha4z][/i:1r5qha4z]\n[code=fw:1r5qha4z]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><.adj.>, <.lTrans.> <span style=\"color: #000000;\">)</span></div>[/code:1r5qha4z]\n\n[b:1r5qha4z]abrir/open say.prg[/b:1r5qha4z]\n\n[i:1r5qha4z][b:1r5qha4z]buscar en methodo NEW/find in Method New[/b:1r5qha4z][/i:1r5qha4z]\n[code=fw:1r5qha4z]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00C800;\">METHOD</span> <span style=\"color: #00C800;\">New</span><span style=\"color: #000000;\">(</span> nRow, nCol, bText, oWnd, cPicture, oFont,; <br /> lCentered, lRight, lBorder, lPixels, nClrText, nClrBack,; <br /> nWidth, nHeight, lDesign, lUpdate, lShaded, lBox, lRaised, lAdjust <span style=\"color: #000000;\">)</span> <span style=\"color: #00C800;\">CLASS</span> TSay</div>[/code:1r5qha4z]\n\n[i:1r5qha4z][b:1r5qha4z]en linea buscar/ inline find[/b:1r5qha4z][/i:1r5qha4z]\n[code=fw:1r5qha4z]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">lAdjust <span style=\"color: #000000;\">)</span></div>[/code:1r5qha4z]\n[i:1r5qha4z]\n[b:1r5qha4z]cambiar con/ replace with[/b:1r5qha4z][/i:1r5qha4z]\n[code=fw:1r5qha4z]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">lAdjust, lTransparent <span style=\"color: #000000;\">)</span></div>[/code:1r5qha4z]\n\n[i:1r5qha4z][b:1r5qha4z]buscar/find[/b:1r5qha4z][/i:1r5qha4z]\n[code=fw:1r5qha4z]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">lAdjust := .f.</div>[/code:1r5qha4z]\n\n[i:1r5qha4z][b:1r5qha4z]en linea agregar despues/ inline add after[/b:1r5qha4z][/i:1r5qha4z]\n[code=fw:1r5qha4z]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">, lTransparent := .f.</div>[/code:1r5qha4z]\n\n[i:1r5qha4z][b:1r5qha4z]buscar/find[/b:1r5qha4z][/i:1r5qha4z]\n[code=fw:1r5qha4z]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"> ::<span style=\"color: #000000;\">lAdjust</span> = lAdjust</div>[/code:1r5qha4z]\n\n[i:1r5qha4z][b:1r5qha4z]agregar despues/add after[/b:1r5qha4z][/i:1r5qha4z]\n[code=fw:1r5qha4z]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"> ::<span style=\"color: #000000;\">lTransparent</span> := lTransparent<br /><br /> <span style=\"color: #00C800;\">if</span> ! IsAppThemed<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> <br /> <span style=\"color: #00C800;\">if</span> ::<span style=\"color: #000000;\">lTransparent</span> <br /> <span style=\"color: #00C800;\">if</span> ! Empty<span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">oWnd</span>:<span style=\"color: #000000;\">oBrush</span> <span style=\"color: #000000;\">)</span> .and. !empty<span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">oBrush</span> <span style=\"color: #000000;\">)</span><br /> ::<span style=\"color: #000000;\">SetBrush</span><span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">oWnd</span>:<span style=\"color: #000000;\">oBrush</span> <span style=\"color: #000000;\">)</span> <br /> <span style=\"color: #00C800;\">endif</span> <br /> <span style=\"color: #00C800;\">endif</span> <br /> <span style=\"color: #00C800;\">endif</span> <br /> </div>[/code:1r5qha4z]\n\n[i:1r5qha4z][b:1r5qha4z]buscar en method initiate/ find in method initiate[/b:1r5qha4z][/i:1r5qha4z]\n[code=fw:1r5qha4z]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00C800;\">if</span> ! Empty<span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">oWnd</span>:<span style=\"color: #000000;\">oBrush</span>:<span style=\"color: #000000;\">hBitmap</span> <span style=\"color: #000000;\">)</span></div>[/code:1r5qha4z]\n\n[i:1r5qha4z][b:1r5qha4z]en linea agregar despues/ inline add after[/b:1r5qha4z][/i:1r5qha4z]\n[code=fw:1r5qha4z]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">.and. !empty<span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">oBrush</span> <span style=\"color: #000000;\">)</span></div>[/code:1r5qha4z]\n\nejemplo/example\n\n\n\n\n[code=fw:1r5qha4z]<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 /><br /><span style=\"color: #00C800;\">local</span> oWnd<br /><span style=\"color: #00C800;\">local</span> oMenu<br /><br /><span style=\"color: #0000ff;\">menu</span> oMenu<br /> <span style=\"color: #0000ff;\">menuitem</span> <span style=\"color: #ff0000;\">\"Gradient\"</span> <span style=\"color: #0000ff;\">action</span> Dlg_Grad<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /> <span style=\"color: #0000ff;\">menuitem</span> <span style=\"color: #ff0000;\">\"Color\"</span> <span style=\"color: #0000ff;\">action</span> Dlg_Color<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /> <span style=\"color: #0000ff;\">menuitem</span> <span style=\"color: #ff0000;\">\"Bitmap\"</span> <span style=\"color: #0000ff;\">action</span> Dlg_Bit<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><span style=\"color: #0000ff;\">endmenu</span><br /><br /><span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">WINDOW</span> oWnd <span style=\"color: #0000ff;\">TITLE</span> <span style=\"color: #ff0000;\">\"Test Say\"</span> <span style=\"color: #0000ff;\">from</span> <span style=\"color: #000000;\">0</span>,<span style=\"color: #000000;\">0</span> <span style=\"color: #0000ff;\">to</span> <span style=\"color: #000000;\">400</span>,<span style=\"color: #000000;\">800</span> <span style=\"color: #0000ff;\">pixel</span> <span style=\"color: #0000ff;\">menu</span> oMenu<br /><br /><span style=\"color: #0000ff;\">activate</span> <span style=\"color: #0000ff;\">window</span> oWnd<br /><br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span><br /><br />procedure Dlg_Grad<br /><br /><span style=\"color: #00C800;\">local</span> oDlg<br /><span style=\"color: #00C800;\">local</span> oSay<br /><span style=\"color: #00C800;\">local</span> oSay2<br /><br /> <span style=\"color: #0000ff;\">define</span> <span style=\"color: #0000ff;\">dialog</span> odlg <span style=\"color: #0000ff;\">title</span> <span style=\"color: #ff0000;\">\"Test Say With Gradient Brush\"</span> <span style=\"color: #0000ff;\">size</span> <span style=\"color: #000000;\">400</span>,<span style=\"color: #000000;\">400</span> <span style=\"color: #0000ff;\">PIXEL</span><br /> <br /> @ <span style=\"color: #000000;\">2</span>,<span style=\"color: #000000;\">2</span> <span style=\"color: #0000ff;\">to</span> <span style=\"color: #000000;\">100</span>,<span style=\"color: #000000;\">100</span> <span style=\"color: #0000ff;\">of</span> odlg <span style=\"color: #0000ff;\">pixel</span><br /> <br /> @ <span style=\"color: #000000;\">25</span>,<span style=\"color: #000000;\">15</span> <span style=\"color: #0000ff;\">say</span> oSay <span style=\"color: #0000ff;\">prompt</span> <span style=\"color: #ff0000;\">\"This a Test\"</span> <span style=\"color: #0000ff;\">of</span> oDlg <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">40</span>, <span style=\"color: #000000;\">15</span> <span style=\"color: #0000ff;\">COLOR</span> CLR_WHITE <span style=\"color: #0000ff;\">PIXEL</span> transparent <span style=\"color: #0000ff;\">adjust</span><br /> <br /> @ <span style=\"color: #000000;\">10</span>,<span style=\"color: #000000;\">120</span> <span style=\"color: #0000ff;\">button</span> <span style=\"color: #ff0000;\">\"Test\"</span> <span style=\"color: #0000ff;\">pixel</span> <span style=\"color: #0000ff;\">action</span> oSay:<span style=\"color: #000000;\">SetText</span><span style=\"color: #000000;\">(</span> <span style=\"color: #ff0000;\">\"Change Text\"</span><span style=\"color: #000000;\">)</span> <br /><br /> <br /> <span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <span style=\"color: #0000ff;\">CENTERED</span> ;<br /> <span style=\"color: #0000ff;\">ON</span> <span style=\"color: #0000ff;\">INIT</span> GradientBrush<span style=\"color: #000000;\">(</span> oDlg, <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">0.4</span>, nRGB<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">75</span>, <span style=\"color: #000000;\">144</span>, <span style=\"color: #000000;\">223</span> <span style=\"color: #000000;\">)</span>, nRGB<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">41</span>, <span style=\"color: #000000;\">85</span>, <span style=\"color: #000000;\">145</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span>,;<br /> <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">0.6</span>, nRGB<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">24</span>, <span style=\"color: #000000;\">61</span>, <span style=\"color: #000000;\">118</span> <span style=\"color: #000000;\">)</span>, nRGB<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">50</span>, <span style=\"color: #000000;\">95</span>, <span style=\"color: #000000;\">158</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">)</span> <br /> <br /><span style=\"color: #00C800;\">return</span> <br /><br />procedure Dlg_Color<br /><br /><span style=\"color: #00C800;\">local</span> oDlg<br /><span style=\"color: #00C800;\">local</span> oBrush<br /><span style=\"color: #00C800;\">local</span> oSay<br /><br /><br /> <span style=\"color: #0000ff;\">define</span> <span style=\"color: #0000ff;\">brush</span> oBrush <span style=\"color: #0000ff;\">color</span> CLR_CYAN<br /> <br /> <span style=\"color: #0000ff;\">define</span> <span style=\"color: #0000ff;\">dialog</span> odlg <span style=\"color: #0000ff;\">title</span> <span style=\"color: #ff0000;\">\"Test Say With Color Brush\"</span> <span style=\"color: #0000ff;\">brush</span> oBrush <span style=\"color: #0000ff;\">size</span> <span style=\"color: #000000;\">400</span>,<span style=\"color: #000000;\">400</span> <span style=\"color: #0000ff;\">PIXEL</span><br /> <br /> @ <span style=\"color: #000000;\">2</span>,<span style=\"color: #000000;\">2</span> <span style=\"color: #0000ff;\">say</span> oSay <span style=\"color: #0000ff;\">prompt</span> <span style=\"color: #ff0000;\">\"This a Test\"</span> <span style=\"color: #0000ff;\">of</span> oDlg <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">100</span>, <span style=\"color: #000000;\">130</span> <span style=\"color: #0000ff;\">COLOR</span> CLR_WHITE <span style=\"color: #0000ff;\">PIXEL</span> transparent<br /><br /> @ <span style=\"color: #000000;\">10</span>,<span style=\"color: #000000;\">120</span> <span style=\"color: #0000ff;\">button</span> <span style=\"color: #ff0000;\">\"Test\"</span> <span style=\"color: #0000ff;\">action</span> oSay:<span style=\"color: #000000;\">SetText</span><span style=\"color: #000000;\">(</span> <span style=\"color: #ff0000;\">\"Change Text\"</span><span style=\"color: #000000;\">)</span> <span style=\"color: #0000ff;\">pixel</span><br /><br /> <br /> <span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <span style=\"color: #0000ff;\">CENTERED</span> <br /> <br /> <br /><span style=\"color: #00C800;\">return</span> <br /><br />procedure Dlg_Bit<br /><br /><span style=\"color: #00C800;\">local</span> oDlg<br /><span style=\"color: #00C800;\">local</span> oBrush<br /><span style=\"color: #00C800;\">local</span> oSay<br /><br /> <span style=\"color: #0000ff;\">define</span> <span style=\"color: #0000ff;\">brush</span> oBrush file <span style=\"color: #ff0000;\">\"cara.bmp\"</span><br /> <br /> <span style=\"color: #0000ff;\">define</span> <span style=\"color: #0000ff;\">dialog</span> odlg <span style=\"color: #0000ff;\">title</span> <span style=\"color: #ff0000;\">\"Test Say With bitmap Brush\"</span> <span style=\"color: #0000ff;\">brush</span> oBrush <span style=\"color: #0000ff;\">size</span> <span style=\"color: #000000;\">400</span>,<span style=\"color: #000000;\">400</span> <span style=\"color: #0000ff;\">PIXEL</span><br /> <br /> @ <span style=\"color: #000000;\">2</span>,<span style=\"color: #000000;\">2</span> <span style=\"color: #0000ff;\">say</span> oSay <span style=\"color: #0000ff;\">prompt</span> <span style=\"color: #ff0000;\">\"This a Test\"</span> <span style=\"color: #0000ff;\">of</span> oDlg <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">100</span>, <span style=\"color: #000000;\">130</span> <span style=\"color: #0000ff;\">COLOR</span> CLR_WHITE <span style=\"color: #0000ff;\">PIXEL</span> transparent<br /><br /> @ <span style=\"color: #000000;\">10</span>,<span style=\"color: #000000;\">120</span> <span style=\"color: #0000ff;\">button</span> <span style=\"color: #ff0000;\">\"Test\"</span> <span style=\"color: #0000ff;\">pixel</span> <span style=\"color: #0000ff;\">action</span> oSay:<span style=\"color: #000000;\">SetText</span><span style=\"color: #000000;\">(</span> <span style=\"color: #ff0000;\">\"Change Text\"</span><span style=\"color: #000000;\">)</span> <br /><br /> <br /> <span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <span style=\"color: #0000ff;\">CENTERED</span> <span style=\"color: #0000ff;\">on</span> <span style=\"color: #0000ff;\">init</span> osay:<span style=\"color: #0000ff;\">refresh</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /> <br /><span style=\"color: #00C800;\">return</span> <br /><br /><span style=\"color: #00C800;\">function</span> GradientBrush<span style=\"color: #000000;\">(</span> oDlg, aColors <span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">local</span> hDC, hBmp, hBmpOld, oBrush<br /> <br /> <span style=\"color: #00C800;\">if</span> Empty<span style=\"color: #000000;\">(</span> oDlg:<span style=\"color: #000000;\">oBrush</span>:<span style=\"color: #000000;\">hBitmap</span> <span style=\"color: #000000;\">)</span><br /> hDC = CreateCompatibleDC<span style=\"color: #000000;\">(</span> oDlg:<span style=\"color: #000000;\">GetDC</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span><br /> hBmp = CreateCompatibleBitMap<span style=\"color: #000000;\">(</span> oDlg:<span style=\"color: #000000;\">hDC</span>, oDlg:<span style=\"color: #000000;\">nWidth</span>, oDlg:<span style=\"color: #000000;\">nHeight</span> <span style=\"color: #000000;\">)</span><br /> hBmpOld = SelectObject<span style=\"color: #000000;\">(</span> hDC, hBmp <span style=\"color: #000000;\">)</span><br /> GradientFill<span style=\"color: #000000;\">(</span> hDC, <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">0</span>, oDlg:<span style=\"color: #000000;\">nHeight</span>, oDlg:<span style=\"color: #000000;\">nWidth</span>, aColors <span style=\"color: #000000;\">)</span><br /> DeleteObject<span style=\"color: #000000;\">(</span> oDlg:<span style=\"color: #000000;\">oBrush</span>:<span style=\"color: #000000;\">hBrush</span> <span style=\"color: #000000;\">)</span><br /> oDlg:<span style=\"color: #000000;\">oBrush</span>:<span style=\"color: #000000;\">hBitmap</span> = hBmp<br /> oDlg:<span style=\"color: #000000;\">oBrush</span>:<span style=\"color: #000000;\">hBrush</span> = CreatePatternBrush<span style=\"color: #000000;\">(</span> hBmp <span style=\"color: #000000;\">)</span> <br /> SelectObject<span style=\"color: #000000;\">(</span> hDC, hBmpOld <span style=\"color: #000000;\">)</span><br /> oDlg:<span style=\"color: #000000;\">ReleaseDC</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">endif</span> <br /><br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span></div>[/code:1r5qha4z]\n\n[b:1r5qha4z][i:1r5qha4z] RC [/i:1r5qha4z][/b:1r5qha4z]\n[code=fw:1r5qha4z]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #B900B9;\">// Add this to your resources RC file</span><br /><br />#ifdef __FLAT__<br /> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">24</span> <span style=\"color: #ff0000;\">\"WindowsXP.Manifest\"</span><br />#endif</div>[/code:1r5qha4z]",
"time": "18:45",
"topic": "@ x,y TSay con Transparencias",
"username": "Daniel Garcia-Gil"
}
] |
@ x,y TSay con Transparencias
|
[
{
"date": "2009-03-06",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Gracias Tocayo....\n\nEstaba buscando algo parecido a esto desde hace tiempo, tenia pensado hacer unas modificaciones a la clase TSay, pero por falta de tiempo lo deje para otra ocasión...\n\nBajo y hago las modificaciones mencionadas y comento como me fue...\n\nMuchas gracias, me ahorraste algo de tiempo...",
"time": "16:59",
"topic": "@ x,y TSay con Transparencias",
"username": "cuatecatl82"
}
] |
@ x,y TSay con Transparencias
|
[
{
"date": "2009-03-06",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Gracias por tu respuesta,\n\nEs bueno saber que alguien mas lo prueba y que estos cambios se puedan depurar, en caso de ser necesario y estar atentos a posibles mejoras planteadas de los mismo",
"time": "17:09",
"topic": "@ x,y TSay con Transparencias",
"username": "Daniel Garcia-Gil"
}
] |
@ x,y TSay con Transparencias
|
[
{
"date": "2009-03-04",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Cambios a la clase TSay para las transparencias...\nMod TSay class for transparents\n\neste cambio viene del hecho que exista la clausula TRANSPARENT en el REDEFINE del SAY y no en @ x,y SAY\nThis change comes from the fact that there is a clause TRANSPARENT in REDEFINE SAY and not in @ x, y SAY\n\nComenzamos/Start\nEste Link es un Exe si quieren probar antes de hacer cambios \nthis link is EXE, if you want to try first before making any changes ...\n\n[url:268883oo]http://www.sitasoft.com/fivewin/test/testsay.rar[/url:268883oo]\n\ntestsay.exe con temas / with themes\ntestsay1.exe sin temas / without themes\n\n[b:268883oo]archivos a editar/file to edit[/b:268883oo]\nfivewin.ch\nsay.prg\n\n[b:268883oo]method a modificar en say.prg/ method to change in say.prg[/b:268883oo]\nmethod new\nmethod Initiate\n\n\n[b:268883oo]abrir/open fivewin.ch[/b:268883oo]\n[i:268883oo]\n[b:268883oo]buscar/find[/b:268883oo][/i:268883oo]\n[code=fw:268883oo]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">#xcommand @ <nRow>, <nCol> <span style=\"color: #0000ff;\">SAY</span> <span style=\"color: #000000;\">[</span> <oSay> <label: <span style=\"color: #0000ff;\">PROMPT</span>,<span style=\"color: #0000ff;\">VAR</span> > <span style=\"color: #000000;\">]</span> <cText> ;<br /> <span style=\"color: #000000;\">[</span> <pict: <span style=\"color: #000000;\">PICT</span>, PICTURE> <cPict> <span style=\"color: #000000;\">]</span> ;<br /> <span style=\"color: #000000;\">[</span> <dlg: <span style=\"color: #0000ff;\">OF</span>,<span style=\"color: #0000ff;\">WINDOW</span>,<span style=\"color: #0000ff;\">DIALOG</span> > <oWnd> <span style=\"color: #000000;\">]</span> ;<br /> <span style=\"color: #000000;\">[</span> <span style=\"color: #0000ff;\">FONT</span> <oFont> <span style=\"color: #000000;\">]</span> ;<br /> <span style=\"color: #000000;\">[</span> <lCenter: <span style=\"color: #0000ff;\">CENTERED</span>, <span style=\"color: #0000ff;\">CENTER</span> > <span style=\"color: #000000;\">]</span> ;<br /> <span style=\"color: #000000;\">[</span> <lRight: <span style=\"color: #0000ff;\">RIGHT</span> > <span style=\"color: #000000;\">]</span> ;<br /> <span style=\"color: #000000;\">[</span> <lBorder: <span style=\"color: #000000;\">BORDER</span> > <span style=\"color: #000000;\">]</span> ;<br /> <span style=\"color: #000000;\">[</span> <lPixel: <span style=\"color: #0000ff;\">PIXEL</span>, PIXELS > <span style=\"color: #000000;\">]</span> ;<br /> <span style=\"color: #000000;\">[</span> <color: <span style=\"color: #0000ff;\">COLOR</span>,COLORS > <nClrText> <span style=\"color: #000000;\">[</span>,<nClrBack> <span style=\"color: #000000;\">]</span> <span style=\"color: #000000;\">]</span> ;<br /> <span style=\"color: #000000;\">[</span> <span style=\"color: #0000ff;\">SIZE</span> <nWidth>, <nHeight> <span style=\"color: #000000;\">]</span> ;<br /> <span style=\"color: #000000;\">[</span> <design: <span style=\"color: #000000;\">DESIGN</span> > <span style=\"color: #000000;\">]</span> ;<br /> <span style=\"color: #000000;\">[</span> <update: <span style=\"color: #0000ff;\">UPDATE</span> > <span style=\"color: #000000;\">]</span> ;<br /> <span style=\"color: #000000;\">[</span> <lShaded: <span style=\"color: #000000;\">SHADED</span>, SHADOW > <span style=\"color: #000000;\">]</span> ;<br /> <span style=\"color: #000000;\">[</span> <lBox: BOX > <span style=\"color: #000000;\">]</span> ;<br /> <span style=\"color: #000000;\">[</span> <lRaised: <span style=\"color: #000000;\">RAISED</span> > <span style=\"color: #000000;\">]</span> ;<br /> <span style=\"color: #000000;\">[</span> <adj: <span style=\"color: #000000;\">ADJUST</span>> <span style=\"color: #000000;\">]</span> ;</div>[/code:268883oo]\n\n[i:268883oo][b:268883oo]agregar despues / add after[/b:268883oo][/i:268883oo]\n[code=fw:268883oo]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"> <span style=\"color: #000000;\">[</span> <lTrans: <span style=\"color: #000000;\">TRANSPARENT</span>><span style=\"color: #000000;\">]</span>; </div>[/code:268883oo] \n\n[i:268883oo][b:268883oo]buscar/find[/b:268883oo][/i:268883oo]\n[code=fw:268883oo]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"> <span style=\"color: #000000;\">[</span> <oSay> := <span style=\"color: #000000;\">]</span> TSay<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span>:<span style=\"color: #00C800;\">New</span><span style=\"color: #000000;\">(</span> <nRow>, <nCol>, <<span style=\"color: #000000;\">{</span>cText<span style=\"color: #000000;\">}</span>>,;<br /> <span style=\"color: #000000;\">[</span><oWnd><span style=\"color: #000000;\">]</span>, <span style=\"color: #000000;\">[</span><cPict><span style=\"color: #000000;\">]</span>, <oFont>, <.lCenter.>, <.lRight.>, <.lBorder.>,;<br /> <.lPixel.>, <nClrText>, <nClrBack>, <nWidth>, <nHeight>,;<br /> <.design.>, <.<span style=\"color: #0000ff;\">update</span>.>, <.lShaded.>, <.lBox.>, <.lRaised.>, <.adj.> <span style=\"color: #000000;\">)</span></div>[/code:268883oo]\n\n[i:268883oo][b:268883oo]en la linea buscar/ inline find[/b:268883oo][/i:268883oo]\n[code=fw:268883oo]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><.adj.> <span style=\"color: #000000;\">)</span></div>[/code:268883oo]\n\n[i:268883oo][b:268883oo]cambiar por / change with[/b:268883oo][/i:268883oo]\n[code=fw:268883oo]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><.adj.>, <.lTrans.> <span style=\"color: #000000;\">)</span></div>[/code:268883oo]\n\n[b:268883oo]abrir/open say.prg[/b:268883oo]\n\n[i:268883oo][b:268883oo]buscar en methodo NEW/find in Method New[/b:268883oo][/i:268883oo]\n[code=fw:268883oo]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00C800;\">METHOD</span> <span style=\"color: #00C800;\">New</span><span style=\"color: #000000;\">(</span> nRow, nCol, bText, oWnd, cPicture, oFont,; <br /> lCentered, lRight, lBorder, lPixels, nClrText, nClrBack,; <br /> nWidth, nHeight, lDesign, lUpdate, lShaded, lBox, lRaised, lAdjust <span style=\"color: #000000;\">)</span> <span style=\"color: #00C800;\">CLASS</span> TSay</div>[/code:268883oo]\n\n[i:268883oo][b:268883oo]en linea buscar/ inline find[/b:268883oo][/i:268883oo]\n[code=fw:268883oo]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">lAdjust <span style=\"color: #000000;\">)</span></div>[/code:268883oo]\n[i:268883oo]\n[b:268883oo]cambiar con/ replace with[/b:268883oo][/i:268883oo]\n[code=fw:268883oo]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">lAdjust, lTransparent <span style=\"color: #000000;\">)</span></div>[/code:268883oo]\n\n[i:268883oo][b:268883oo]buscar/find[/b:268883oo][/i:268883oo]\n[code=fw:268883oo]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">lAdjust := .f.</div>[/code:268883oo]\n\n[i:268883oo][b:268883oo]en linea agregar despues/ inline add after[/b:268883oo][/i:268883oo]\n[code=fw:268883oo]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">, lTransparent := .f.</div>[/code:268883oo]\n\n[i:268883oo][b:268883oo]buscar/find[/b:268883oo][/i:268883oo]\n[code=fw:268883oo]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"> ::<span style=\"color: #000000;\">lAdjust</span> = lAdjust</div>[/code:268883oo]\n\n[i:268883oo][b:268883oo]agregar despues/add after[/b:268883oo][/i:268883oo]\n[code=fw:268883oo]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"> ::<span style=\"color: #000000;\">lTransparent</span> := lTransparent<br /><br /> <span style=\"color: #00C800;\">if</span> ! IsAppThemed<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> <br /> <span style=\"color: #00C800;\">if</span> ::<span style=\"color: #000000;\">lTransparent</span> <br /> <span style=\"color: #00C800;\">if</span> ! Empty<span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">oWnd</span>:<span style=\"color: #000000;\">oBrush</span> <span style=\"color: #000000;\">)</span> .and. !empty<span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">oBrush</span> <span style=\"color: #000000;\">)</span><br /> ::<span style=\"color: #000000;\">SetBrush</span><span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">oWnd</span>:<span style=\"color: #000000;\">oBrush</span> <span style=\"color: #000000;\">)</span> <br /> <span style=\"color: #00C800;\">endif</span> <br /> <span style=\"color: #00C800;\">endif</span> <br /> <span style=\"color: #00C800;\">endif</span> <br /> </div>[/code:268883oo]\n\n[i:268883oo][b:268883oo]buscar en method initiate/ find in method initiate[/b:268883oo][/i:268883oo]\n[code=fw:268883oo]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00C800;\">if</span> ! Empty<span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">oWnd</span>:<span style=\"color: #000000;\">oBrush</span>:<span style=\"color: #000000;\">hBitmap</span> <span style=\"color: #000000;\">)</span></div>[/code:268883oo]\n\n[i:268883oo][b:268883oo]en linea agregar despues/ inline add after[/b:268883oo][/i:268883oo]\n[code=fw:268883oo]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">.and. !empty<span style=\"color: #000000;\">(</span> ::<span style=\"color: #000000;\">oBrush</span> <span style=\"color: #000000;\">)</span></div>[/code:268883oo]\n\nejemplo/example\n\n\n\n\n[code=fw:268883oo]<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 /><br /><span style=\"color: #00C800;\">local</span> oWnd<br /><span style=\"color: #00C800;\">local</span> oMenu<br /><br /><span style=\"color: #0000ff;\">menu</span> oMenu<br /> <span style=\"color: #0000ff;\">menuitem</span> <span style=\"color: #ff0000;\">\"Gradient\"</span> <span style=\"color: #0000ff;\">action</span> Dlg_Grad<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /> <span style=\"color: #0000ff;\">menuitem</span> <span style=\"color: #ff0000;\">\"Color\"</span> <span style=\"color: #0000ff;\">action</span> Dlg_Color<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /> <span style=\"color: #0000ff;\">menuitem</span> <span style=\"color: #ff0000;\">\"Bitmap\"</span> <span style=\"color: #0000ff;\">action</span> Dlg_Bit<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /><span style=\"color: #0000ff;\">endmenu</span><br /><br /><span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">WINDOW</span> oWnd <span style=\"color: #0000ff;\">TITLE</span> <span style=\"color: #ff0000;\">\"Test Say\"</span> <span style=\"color: #0000ff;\">from</span> <span style=\"color: #000000;\">0</span>,<span style=\"color: #000000;\">0</span> <span style=\"color: #0000ff;\">to</span> <span style=\"color: #000000;\">400</span>,<span style=\"color: #000000;\">800</span> <span style=\"color: #0000ff;\">pixel</span> <span style=\"color: #0000ff;\">menu</span> oMenu<br /><br /><span style=\"color: #0000ff;\">activate</span> <span style=\"color: #0000ff;\">window</span> oWnd<br /><br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span><br /><br />procedure Dlg_Grad<br /><br /><span style=\"color: #00C800;\">local</span> oDlg<br /><span style=\"color: #00C800;\">local</span> oSay<br /><span style=\"color: #00C800;\">local</span> oSay2<br /><br /> <span style=\"color: #0000ff;\">define</span> <span style=\"color: #0000ff;\">dialog</span> odlg <span style=\"color: #0000ff;\">title</span> <span style=\"color: #ff0000;\">\"Test Say With Gradient Brush\"</span> <span style=\"color: #0000ff;\">size</span> <span style=\"color: #000000;\">400</span>,<span style=\"color: #000000;\">400</span> <span style=\"color: #0000ff;\">PIXEL</span><br /> <br /> @ <span style=\"color: #000000;\">2</span>,<span style=\"color: #000000;\">2</span> <span style=\"color: #0000ff;\">to</span> <span style=\"color: #000000;\">100</span>,<span style=\"color: #000000;\">100</span> <span style=\"color: #0000ff;\">of</span> odlg <span style=\"color: #0000ff;\">pixel</span><br /> <br /> @ <span style=\"color: #000000;\">25</span>,<span style=\"color: #000000;\">15</span> <span style=\"color: #0000ff;\">say</span> oSay <span style=\"color: #0000ff;\">prompt</span> <span style=\"color: #ff0000;\">\"This a Test\"</span> <span style=\"color: #0000ff;\">of</span> oDlg <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">40</span>, <span style=\"color: #000000;\">15</span> <span style=\"color: #0000ff;\">COLOR</span> CLR_WHITE <span style=\"color: #0000ff;\">PIXEL</span> transparent <span style=\"color: #0000ff;\">adjust</span><br /> <br /> @ <span style=\"color: #000000;\">10</span>,<span style=\"color: #000000;\">120</span> <span style=\"color: #0000ff;\">button</span> <span style=\"color: #ff0000;\">\"Test\"</span> <span style=\"color: #0000ff;\">pixel</span> <span style=\"color: #0000ff;\">action</span> oSay:<span style=\"color: #000000;\">SetText</span><span style=\"color: #000000;\">(</span> <span style=\"color: #ff0000;\">\"Change Text\"</span><span style=\"color: #000000;\">)</span> <br /><br /> <br /> <span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <span style=\"color: #0000ff;\">CENTERED</span> ;<br /> <span style=\"color: #0000ff;\">ON</span> <span style=\"color: #0000ff;\">INIT</span> GradientBrush<span style=\"color: #000000;\">(</span> oDlg, <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">0.4</span>, nRGB<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">75</span>, <span style=\"color: #000000;\">144</span>, <span style=\"color: #000000;\">223</span> <span style=\"color: #000000;\">)</span>, nRGB<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">41</span>, <span style=\"color: #000000;\">85</span>, <span style=\"color: #000000;\">145</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span>,;<br /> <span style=\"color: #000000;\">{</span> <span style=\"color: #000000;\">0.6</span>, nRGB<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">24</span>, <span style=\"color: #000000;\">61</span>, <span style=\"color: #000000;\">118</span> <span style=\"color: #000000;\">)</span>, nRGB<span style=\"color: #000000;\">(</span> <span style=\"color: #000000;\">50</span>, <span style=\"color: #000000;\">95</span>, <span style=\"color: #000000;\">158</span> <span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">)</span> <br /> <br /><span style=\"color: #00C800;\">return</span> <br /><br />procedure Dlg_Color<br /><br /><span style=\"color: #00C800;\">local</span> oDlg<br /><span style=\"color: #00C800;\">local</span> oBrush<br /><span style=\"color: #00C800;\">local</span> oSay<br /><br /><br /> <span style=\"color: #0000ff;\">define</span> <span style=\"color: #0000ff;\">brush</span> oBrush <span style=\"color: #0000ff;\">color</span> CLR_CYAN<br /> <br /> <span style=\"color: #0000ff;\">define</span> <span style=\"color: #0000ff;\">dialog</span> odlg <span style=\"color: #0000ff;\">title</span> <span style=\"color: #ff0000;\">\"Test Say With Color Brush\"</span> <span style=\"color: #0000ff;\">brush</span> oBrush <span style=\"color: #0000ff;\">size</span> <span style=\"color: #000000;\">400</span>,<span style=\"color: #000000;\">400</span> <span style=\"color: #0000ff;\">PIXEL</span><br /> <br /> @ <span style=\"color: #000000;\">2</span>,<span style=\"color: #000000;\">2</span> <span style=\"color: #0000ff;\">say</span> oSay <span style=\"color: #0000ff;\">prompt</span> <span style=\"color: #ff0000;\">\"This a Test\"</span> <span style=\"color: #0000ff;\">of</span> oDlg <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">100</span>, <span style=\"color: #000000;\">130</span> <span style=\"color: #0000ff;\">COLOR</span> CLR_WHITE <span style=\"color: #0000ff;\">PIXEL</span> transparent<br /><br /> @ <span style=\"color: #000000;\">10</span>,<span style=\"color: #000000;\">120</span> <span style=\"color: #0000ff;\">button</span> <span style=\"color: #ff0000;\">\"Test\"</span> <span style=\"color: #0000ff;\">action</span> oSay:<span style=\"color: #000000;\">SetText</span><span style=\"color: #000000;\">(</span> <span style=\"color: #ff0000;\">\"Change Text\"</span><span style=\"color: #000000;\">)</span> <span style=\"color: #0000ff;\">pixel</span><br /><br /> <br /> <span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <span style=\"color: #0000ff;\">CENTERED</span> <br /> <br /> <br /><span style=\"color: #00C800;\">return</span> <br /><br />procedure Dlg_Bit<br /><br /><span style=\"color: #00C800;\">local</span> oDlg<br /><span style=\"color: #00C800;\">local</span> oBrush<br /><span style=\"color: #00C800;\">local</span> oSay<br /><br /> <span style=\"color: #0000ff;\">define</span> <span style=\"color: #0000ff;\">brush</span> oBrush file <span style=\"color: #ff0000;\">\"cara.bmp\"</span><br /> <br /> <span style=\"color: #0000ff;\">define</span> <span style=\"color: #0000ff;\">dialog</span> odlg <span style=\"color: #0000ff;\">title</span> <span style=\"color: #ff0000;\">\"Test Say With bitmap Brush\"</span> <span style=\"color: #0000ff;\">brush</span> oBrush <span style=\"color: #0000ff;\">size</span> <span style=\"color: #000000;\">400</span>,<span style=\"color: #000000;\">400</span> <span style=\"color: #0000ff;\">PIXEL</span><br /> <br /> @ <span style=\"color: #000000;\">2</span>,<span style=\"color: #000000;\">2</span> <span style=\"color: #0000ff;\">say</span> oSay <span style=\"color: #0000ff;\">prompt</span> <span style=\"color: #ff0000;\">\"This a Test\"</span> <span style=\"color: #0000ff;\">of</span> oDlg <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">100</span>, <span style=\"color: #000000;\">130</span> <span style=\"color: #0000ff;\">COLOR</span> CLR_WHITE <span style=\"color: #0000ff;\">PIXEL</span> transparent<br /><br /> @ <span style=\"color: #000000;\">10</span>,<span style=\"color: #000000;\">120</span> <span style=\"color: #0000ff;\">button</span> <span style=\"color: #ff0000;\">\"Test\"</span> <span style=\"color: #0000ff;\">pixel</span> <span style=\"color: #0000ff;\">action</span> oSay:<span style=\"color: #000000;\">SetText</span><span style=\"color: #000000;\">(</span> <span style=\"color: #ff0000;\">\"Change Text\"</span><span style=\"color: #000000;\">)</span> <br /><br /> <br /> <span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <span style=\"color: #0000ff;\">CENTERED</span> <span style=\"color: #0000ff;\">on</span> <span style=\"color: #0000ff;\">init</span> osay:<span style=\"color: #0000ff;\">refresh</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /> <br /><span style=\"color: #00C800;\">return</span> <br /><br /><span style=\"color: #00C800;\">function</span> GradientBrush<span style=\"color: #000000;\">(</span> oDlg, aColors <span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #00C800;\">local</span> hDC, hBmp, hBmpOld, oBrush<br /> <br /> <span style=\"color: #00C800;\">if</span> Empty<span style=\"color: #000000;\">(</span> oDlg:<span style=\"color: #000000;\">oBrush</span>:<span style=\"color: #000000;\">hBitmap</span> <span style=\"color: #000000;\">)</span><br /> hDC = CreateCompatibleDC<span style=\"color: #000000;\">(</span> oDlg:<span style=\"color: #000000;\">GetDC</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span><br /> hBmp = CreateCompatibleBitMap<span style=\"color: #000000;\">(</span> oDlg:<span style=\"color: #000000;\">hDC</span>, oDlg:<span style=\"color: #000000;\">nWidth</span>, oDlg:<span style=\"color: #000000;\">nHeight</span> <span style=\"color: #000000;\">)</span><br /> hBmpOld = SelectObject<span style=\"color: #000000;\">(</span> hDC, hBmp <span style=\"color: #000000;\">)</span><br /> GradientFill<span style=\"color: #000000;\">(</span> hDC, <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">0</span>, oDlg:<span style=\"color: #000000;\">nHeight</span>, oDlg:<span style=\"color: #000000;\">nWidth</span>, aColors <span style=\"color: #000000;\">)</span><br /> DeleteObject<span style=\"color: #000000;\">(</span> oDlg:<span style=\"color: #000000;\">oBrush</span>:<span style=\"color: #000000;\">hBrush</span> <span style=\"color: #000000;\">)</span><br /> oDlg:<span style=\"color: #000000;\">oBrush</span>:<span style=\"color: #000000;\">hBitmap</span> = hBmp<br /> oDlg:<span style=\"color: #000000;\">oBrush</span>:<span style=\"color: #000000;\">hBrush</span> = CreatePatternBrush<span style=\"color: #000000;\">(</span> hBmp <span style=\"color: #000000;\">)</span> <br /> SelectObject<span style=\"color: #000000;\">(</span> hDC, hBmpOld <span style=\"color: #000000;\">)</span><br /> oDlg:<span style=\"color: #000000;\">ReleaseDC</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">endif</span> <br /><br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span></div>[/code:268883oo]\n\n[b:268883oo][i:268883oo] RC [/i:268883oo][/b:268883oo]\n[code=fw:268883oo]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #B900B9;\">// Add this to your resources RC file</span><br /><br />#ifdef __FLAT__<br /> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">24</span> <span style=\"color: #ff0000;\">\"WindowsXP.Manifest\"</span><br />#endif</div>[/code:268883oo]",
"time": "18:47",
"topic": "@ x,y TSay with Transparent",
"username": "Daniel Garcia-Gil"
}
] |
@ x,y TSay with Transparent
|
[
{
"date": "2021-07-03",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Hallo Adhemar,\nI would like to ask you if you are still updateing for the mod harbour installer and if so, what is the current link.\nThank you in advance\nOtto",
"time": "09:35",
"topic": "@Adhemar - mod harbour installer",
"username": "Otto"
}
] |
@Adhemar - mod harbour installer
|
[
{
"date": "2021-07-03",
"forum": "FiveWin para Harbour/xHarbour",
"text": "Dear Otto\n\nMod_Harbour con Apache24\n\nHere the Link\n[url:1t7npljr]https://drive.google.com/file/d/1CJkhqKLLAxpoGY6TXhrcE1Jn8gj287oS/view?usp=sharing[/url:1t7npljr]\n\nUpdated to 30/06/21\n\nRegards",
"time": "18:01",
"topic": "@Adhemar - mod harbour installer",
"username": "acuellar"
}
] |
@Adhemar - mod harbour installer
|
[
{
"date": "2019-10-02",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Wow !!!\n\nGreat work Uwe !!!\n\nJust one observation:\nWe should not have together mod_harbour and FWH in the same install app. As mod_harbour is free and FWH is commercial.\n\nUsers may think that both products are related and they are not.\n\nBesides that, hats off for your superb work <!-- s;-) --><img src=\"{SMILIES_PATH}/icon_wink.gif\" alt=\";-)\" title=\"Wink\" /><!-- s;-) -->",
"time": "07:28",
"topic": "@Uwe Install program for mod harbour",
"username": "Antonio Linares"
}
] |
@Uwe Install program for mod harbour
|
[
{
"date": "2019-10-02",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Antonio,\n\nseparated. <!-- s:idea: --><img src=\"{SMILIES_PATH}/icon_idea.gif\" alt=\":idea:\" title=\"Idea\" /><!-- s:idea: --> \nI added 2 new group-buttons\nFivewin-installs can be selected with a extra button now.\n\nThanks to Otto he gave me the idea to start with the tool. <!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D --> \n\nIris,\n[quote:32z2arbv]Can you tell me, what the firewall-settings are for? [/quote:32z2arbv]\nI didn't look in detail at the downloads for the moment.\n\n[color=#0000FF:32z2arbv]To include any new downloads I need :\n1. a description for the buttontext\n2. the link\n3. a text for the button-tooltip[/color:32z2arbv]\n\nwith the toolbutton we can download useful tools\nlike pixelformer, gimp ... or any other programs ( will be added in the next release )\n\nThe possible capacity can be extended changing the windowsize. \nAnother solution is shown with the setup-button\nthat connects a second window to the main-screen.\ncapacity :\n3 main-buttons\neach button includes a menue with 8 buttons\neach button shows a submenue with 7 buttons\ntotal = 56 installs each button * 3 = [color=#0000FF:32z2arbv][b:32z2arbv]168 possible installs [/b:32z2arbv][/color:32z2arbv] or downloads\n\nresizing the width of the mainwindow more group-buttons can be defined\n\nI could adjust the height to the defined download-buttons ( 7 )\nbut I think it looks much better using a fixed size\notherwise moving the window doesn*t make sense if it is to big.\n\nI will add a release-number next to the fivewin-logo \n\n[img:32z2arbv]http://www.pflegeplus.com/IMAGES/Install9.jpg[/img:32z2arbv]\n\nregards\nUwe <!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D -->",
"time": "09:13",
"topic": "@Uwe Install program for mod harbour",
"username": "ukoenig"
}
] |
@Uwe Install program for mod harbour
|
[
{
"date": "2019-10-02",
"forum": "FiveWin for Harbour/xHarbour",
"text": "really nice!\n\nthank you so much <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->",
"time": "09:32",
"topic": "@Uwe Install program for mod harbour",
"username": "Antonio Linares"
}
] |
@Uwe Install program for mod harbour
|
[
{
"date": "2019-09-27",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Lieber Uwe,\nich möchte mich heute mit einer Bitte an dich wenden.\nVielleicht kannst du uns \"Fivewinnern\" einen professionellen Installer für mod Harbour machen.\nDerzeit sieht das ein wenig simpel aus.\nMit lieben Grüßen\nOtto\n\n[img:3paxc16y]https://mybergland.com/fwforum/installmod.jpg[/img:3paxc16y]\nDownload link:\n[url:3paxc16y]https://mybergland.com/fwforum/install_xampp_and_modharbour.exe[/url:3paxc16y]\n\nHier ist der source Code.\n\n\n[code=fw:3paxc16y]<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 />REQUEST DBFCDX<br />REQUEST DBFFPT<br /><br /><span style=\"color: #00C800;\">static</span> oWnd<br /><br /><span style=\"color: #B900B9;\">//----------------------------------------------------------------------------//</span><br /><br /><span style=\"color: #00C800;\">function</span> Main<span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">local</span> I := <span style=\"color: #000000;\">0</span><br /> <span style=\"color: #00C800;\">local</span> odlg<br /> <span style=\"color: #00C800;\">local</span> aLinks := <span style=\"color: #000000;\">{</span><span style=\"color: #000000;\">}</span><br /> <span style=\"color: #00C800;\">local</span> cText := <span style=\"color: #ff0000;\">\"\"</span><br /> <span style=\"color: #B900B9;\">//----------------------------------------------------------------------------//</span><br /><br /> cText += <span style=\"color: #ff0000;\">\"Allow Apache through Windows Firewall?\"</span>+ CRLF<br /> cText += <span style=\"color: #ff0000;\">\"\"</span>+ CRLF<br /> cText += <span style=\"color: #ff0000;\">\"->Go to Search of windows.\"</span>+ CRLF<br /> cText += <span style=\"color: #ff0000;\">\"->Search 'firewall'\"</span>+ CRLF<br /> cText += <span style=\"color: #ff0000;\">\"->open the firewall\"</span>+ CRLF<br /> cText += <span style=\"color: #ff0000;\">\"->select Advanced settings.\"</span>+ CRLF<br /> cText += <span style=\"color: #ff0000;\">\"->go to Inbound Rules.\"</span>+ CRLF<br /> cText += <span style=\"color: #ff0000;\">\"->click on New Rule.\"</span>+ CRLF<br /> cText += <span style=\"color: #ff0000;\">\"->select Program\"</span>+ CRLF<br /> cText += <span style=\"color: #ff0000;\">\"->press next\"</span>+ CRLF<br /><br /> cText += <span style=\"color: #ff0000;\">\"->This program path: Browse for httpd.exe\"</span>+ CRLF<br /> cText += <span style=\"color: #ff0000;\">\" (usually here: c:<span style=\"color: #000000;\">\\x</span>ampp<span style=\"color: #000000;\">\\a</span>pache<span style=\"color: #000000;\">\\b</span>in\"</span>+ CRLF<br /> cText += <span style=\"color: #ff0000;\">\"->Allow the connection Next\"</span>+ CRLF<br /> cText += <span style=\"color: #ff0000;\">\"->Select 'Allow all - Domain/Private/Public'\"</span>+ CRLF<br /> cText += <span style=\"color: #ff0000;\">\"->on last page add rule name 'Apache HTTP'\"</span>+ CRLF<br /><br /> <span style=\"color: #00C800;\">if</span> lIsDir<span style=\"color: #000000;\">(</span> <span style=\"color: #ff0000;\">\"c:<span style=\"color: #000000;\">\\m</span>od_harbour\"</span> <span style=\"color: #000000;\">)</span> = .f.<br /> lMKDir<span style=\"color: #000000;\">(</span> <span style=\"color: #ff0000;\">\"c:<span style=\"color: #000000;\">\\m</span>od_harbour\"</span> <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">endif</span><br /><br /> aadd<span style=\"color: #000000;\">(</span> aLinks, <span style=\"color: #000000;\">{</span> <span style=\"color: #ff0000;\">\"Visual Studio C++ Redistributable 2017 x86\"</span>, <span style=\"color: #ff0000;\">\"https: //aka.ms/vs/15/release/vc_redist.x86.exe\"</span>, <span style=\"color: #ff0000;\">\"Download the file and run the exe immediately\"</span> <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">)</span><br /> aadd<span style=\"color: #000000;\">(</span> aLinks, <span style=\"color: #000000;\">{</span> <span style=\"color: #ff0000;\">\"Visual Studio C++ Redistributable 2017 x64\"</span>, <span style=\"color: #ff0000;\">\"https: //aka.ms/vs/15/release/vc_redist.x64.exe\"</span>, <span style=\"color: #ff0000;\">\"Download the file and run the exe immediately\"</span> <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">)</span><br /> aadd<span style=\"color: #000000;\">(</span> aLinks, <span style=\"color: #000000;\">{</span> <span style=\"color: #ff0000;\">\"XAMPP\"</span>, <span style=\"color: #ff0000;\">\"https: //sourceforge.net/projects/xampp/files/XAMPP%20Windows/7.3.8/xampp-windows-x64-7.3.8-2-VC15-installer\"</span>, <span style=\"color: #ff0000;\">\"Download the file and run the exe immediately\"</span> <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">)</span><br /> aadd<span style=\"color: #000000;\">(</span> aLinks, <span style=\"color: #000000;\">{</span> <span style=\"color: #ff0000;\">\"Allow Apache through Windows Firewall\"</span>,<span style=\"color: #ff0000;\">\"noLink\"</span>, cText <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">)</span><br /> aadd<span style=\"color: #000000;\">(</span> aLinks, <span style=\"color: #000000;\">{</span> <span style=\"color: #ff0000;\">\"mod harbour ZIP file\"</span>, <span style=\"color: #ff0000;\">\"https: //github.com/FiveTechSoft/mod_harbour/archive/master.zip\"</span>, <span style=\"color: #ff0000;\">\"Download the file and unpack to c:<span style=\"color: #000000;\">\\m</span>od_harbour\"</span> <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">)</span><br /> aadd<span style=\"color: #000000;\">(</span> aLinks, <span style=\"color: #000000;\">{</span> <span style=\"color: #ff0000;\">\"Setup mod harbour with bat-file\"</span>, <span style=\"color: #ff0000;\">\"https: //winhotel.space/modharbourdoc/setupmodharbour.bat\"</span>, <span style=\"color: #ff0000;\">\"Download the bat-file and run the bat-file immediately\"</span> <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">)</span><br /> aadd<span style=\"color: #000000;\">(</span> aLinks, <span style=\"color: #000000;\">{</span> <span style=\"color: #ff0000;\">\"Setup Apache for mod harbour\"</span>, <span style=\"color: #ff0000;\">\"https: //winhotel.space/modharbourdoc/modharb.exe\"</span> , <span style=\"color: #ff0000;\">\"Download the file and run the modharb.exe immediately\"</span> <span style=\"color: #000000;\">}</span> <span style=\"color: #000000;\">)</span><br /><br /> <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <span style=\"color: #0000ff;\">FROM</span> <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">10</span> <span style=\"color: #0000ff;\">TO</span> <span style=\"color: #000000;\">36</span>, <span style=\"color: #000000;\">60</span> ;<br /> <span style=\"color: #0000ff;\">TITLE</span> <span style=\"color: #ff0000;\">\"Install XAMPP and mod harbour\"</span><br /><br /> <span style=\"color: #00C800;\">FOR</span> I := <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">to</span> len<span style=\"color: #000000;\">(</span> aLinks <span style=\"color: #000000;\">)</span><br /> buttonLinks<span style=\"color: #000000;\">(</span>oDlg, I, aLinks<span style=\"color: #000000;\">)</span><br /><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 /><br /><span style=\"color: #00C800;\">function</span> buttonLinks<span style=\"color: #000000;\">(</span>oDlg, I, aLinks<span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">local</span> oBtn<br /><br /> <span style=\"color: #00C800;\">if</span> aLinks<span style=\"color: #000000;\">[</span> I,<span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">]</span> = <span style=\"color: #ff0000;\">\"noLink\"</span><br /> @ <span style=\"color: #000000;\">1</span> + <span style=\"color: #000000;\">30</span> * I,<span style=\"color: #000000;\">10</span> ;<br /> <span style=\"color: #0000ff;\">BUTTON</span> oBtn ;<br /> <span style=\"color: #0000ff;\">PROMPT</span> aLinks<span style=\"color: #000000;\">[</span> I,<span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">]</span> ;<br /> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">150</span>, <span style=\"color: #000000;\">25</span> ;<br /> <span style=\"color: #0000ff;\">OF</span> oDlg ;<br /> <span style=\"color: #0000ff;\">PIXEL</span> ;<br /> <span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #000000;\">(</span> <span style=\"color: #0000ff;\">msginfo</span><span style=\"color: #000000;\">(</span> aLinks<span style=\"color: #000000;\">[</span> I,<span style=\"color: #000000;\">3</span><span style=\"color: #000000;\">]</span> <span style=\"color: #000000;\">)</span>, oBtn:<span style=\"color: #000000;\">disable</span><span style=\"color: #000000;\">(</span><span style=\"color: #000000;\">)</span> <span style=\"color: #000000;\">)</span><br /> <span style=\"color: #00C800;\">else</span><br /> @ <span style=\"color: #000000;\">1</span> + <span style=\"color: #000000;\">30</span> * I,<span style=\"color: #000000;\">10</span> ;<br /> <span style=\"color: #0000ff;\">BUTTON</span> oBtn ;<br /> <span style=\"color: #0000ff;\">PROMPT</span> aLinks<span style=\"color: #000000;\">[</span> I,<span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">]</span> ;<br /> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">150</span>, <span style=\"color: #000000;\">25</span> ;<br /> <span style=\"color: #0000ff;\">OF</span> oDlg ;<br /> <span style=\"color: #0000ff;\">PIXEL</span> ;<br /> <span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #000000;\">(</span> <span style=\"color: #0000ff;\">msginfo</span><span style=\"color: #000000;\">(</span> aLinks<span style=\"color: #000000;\">[</span> I,<span style=\"color: #000000;\">3</span><span style=\"color: #000000;\">]</span> <span style=\"color: #000000;\">)</span>,ShellExecute<span style=\"color: #000000;\">(</span> oDlg, <span style=\"color: #ff0000;\">'Open'</span>, aLinks<span style=\"color: #000000;\">[</span> I,<span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">]</span> <span style=\"color: #000000;\">)</span>, oBtn:<span style=\"color: #000000;\">disable</span><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;\">return</span> <span style=\"color: #00C800;\">nil</span><br /><span style=\"color: #B900B9;\">//----------------------------------------------------------------------------//</span><br /><br /><br /> </div>[/code:3paxc16y]",
"time": "19:47",
"topic": "@Uwe Install program for mod harbour",
"username": "Otto"
}
] |
@Uwe Install program for mod harbour
|
[
{
"date": "2019-09-28",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Otto,\n\nno problem,\n\nwhat is the optics do You like\n\nmaybe a window like that with round corners and border\nstays on top and can have any color and bordersize ( with transparent level ) \nThe border shown on any position, Buttons can have a 3D-look ( using special images ) \n\n[img:1b9ca8gb]http://www.pflegeplus.com/IMAGES/Install1.bmp[/img:1b9ca8gb]\n\nregards\nUwe <!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D -->",
"time": "20:03",
"topic": "@Uwe Install program for mod harbour",
"username": "ukoenig"
}
] |
@Uwe Install program for mod harbour
|
[
{
"date": "2019-09-28",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Dear Uwe,\nthank you for helping.\nCan you please have a look at the modharbour.org web page. Maybe you can take these colors.\nLet us ask Antonio to send you the logo.\nThank you and best regards\nOtto",
"time": "21:31",
"topic": "@Uwe Install program for mod harbour",
"username": "Otto"
}
] |
@Uwe Install program for mod harbour
|
[
{
"date": "2019-09-29",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Dear Otto,\n\n[quote:colgd97v]Can you please have a look at the modharbour.org web page. Maybe you can take these colors.\nLet us ask Antonio to send you the logo.[/quote:colgd97v]\n\nit gaves me the idea to create a new installer-tool with a config-section.\nusing a buttonstyle or checkboxes like the FWH-installer.\nInside the config-section there will be a option to choose the style and colors.\n( I couldn't find something useful about the colors )\nAs well there will be something of the new meter-controls included.\n\nI Added a sysmenu ( the design-button will be removed inside the customer-release )\nThere is still space next to the harbour-image for a progress-wheel\n\nThis is just a test adding some objects to see how it looks.\nThe size can be adjusted to add some comments.\nIt is easy now to create any kind of installer like You can see.\n\n[img:colgd97v]http://www.pflegeplus.com/IMAGES/Install3.bmp[/img:colgd97v]\n\n[img:colgd97v]http://www.pflegeplus.com/IMAGES/Install2.bmp[/img:colgd97v]\n\n[img:colgd97v]http://www.pflegeplus.com/IMAGES/Install3.png[/img:colgd97v]\n\nbest regards\nUwe <!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D -->",
"time": "08:47",
"topic": "@Uwe Install program for mod harbour",
"username": "ukoenig"
}
] |
@Uwe Install program for mod harbour
|
[
{
"date": "2019-09-30",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Dear Otto,\n\nis there a global Info-text I could show with the HELP-symbol ?\n\n[img:r7a65q2e]http://www.pflegeplus.com/IMAGES/Install4.bmp[/img:r7a65q2e]\n\nAll links are working <!-- s:!: --><img src=\"{SMILIES_PATH}/icon_exclaim.gif\" alt=\":!:\" title=\"Exclamation\" /><!-- s:!: --> \n\nThe installer is on top as well inside the internet-browser\nNO download on Pos. 4\nI still have to include a progress-wheel\nBecause the selected button will be disabled, \nI will add a button < undo > to start the download again in case of any problem.\n\n[img:r7a65q2e]http://www.pflegeplus.com/IMAGES/Install5.bmp[/img:r7a65q2e]\n\nbest regards\nUwe <!-- s:?: --><img src=\"{SMILIES_PATH}/icon_question.gif\" alt=\":?:\" title=\"Question\" /><!-- s:?: -->",
"time": "11:58",
"topic": "@Uwe Install program for mod harbour",
"username": "ukoenig"
}
] |
@Uwe Install program for mod harbour
|
[
{
"date": "2019-09-30",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Great Uwe, congratulations",
"time": "12:29",
"topic": "@Uwe Install program for mod harbour",
"username": "cnavarro"
}
] |
@Uwe Install program for mod harbour
|
[
{
"date": "2019-09-30",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Dear Uwe,\n\ngreat work. Really professional and good looking. \n\nIn the meantime Antonio made it possible that mod harbour is also running on WINDOWS IIS.\n\nHere is the link and the install documentation. We should make your installer dual - for IIS and for APACHE.\n\n<!-- l --><a class=\"postlink-local\" href=\"http://forums.fivetechsupport.com/viewtopic.php?f=45&t=37820\">viewtopic.php?f=45&t=37820</a><!-- l -->\n\nI will setup some VS then we can test the installaion.\n\nI will provide you with the credentials. Is RDP for you OK?\n\nThank you from me and I think also in the name of the Fivewin - community.\nBest regards\nOtto",
"time": "12:51",
"topic": "@Uwe Install program for mod harbour",
"username": "Otto"
}
] |
@Uwe Install program for mod harbour
|
[
{
"date": "2019-09-30",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Dear Otto,\n\nas soon I'm starting something, I'm getting more and more ideas <!-- s:roll: --><img src=\"{SMILIES_PATH}/icon_rolleyes.gif\" alt=\":roll:\" title=\"Rolling Eyes\" /><!-- s:roll: --> \n\n[quote:1ddoa5r7]We should make your installer dual - for IIS and for APACHE.[/quote:1ddoa5r7]\n\nI added a [color=#0000FF:1ddoa5r7]switch to the toolbar [/color:1ddoa5r7] ( share ) on top\nUndo added ( button enable ) in case of download-problems to try again\nThe installer can be minimized to the taskbar during working on a download.\n\nWhat is about the global help-info I asked for\nwhat text do You like to show <!-- s:?: --><img src=\"{SMILIES_PATH}/icon_question.gif\" alt=\":?:\" title=\"Question\" /><!-- s:?: --> \n\n[img:1ddoa5r7]http://www.pflegeplus.com/IMAGES/Install6.bmp[/img:1ddoa5r7]\n\n[b:1ddoa5r7]changed to IIS[/b:1ddoa5r7]\n[b:1ddoa5r7]Works[/b:1ddoa5r7] <!-- s:shock: --><img src=\"{SMILIES_PATH}/icon_eek.gif\" alt=\":shock:\" title=\"Shocked\" /><!-- s:shock: --> \n\nThe subtitle can be changed as well < installs IIS > and < installs APACHE >\n\nI can use the same blue as main-color from the website but maybe better to have a little contrast.\n\n[img:1ddoa5r7]http://www.pflegeplus.com/IMAGES/Install7.jpg[/img:1ddoa5r7]\n\nI'm glad I can help.\n\nbest regards\nUwe <!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D -->",
"time": "13:13",
"topic": "@Uwe Install program for mod harbour",
"username": "ukoenig"
}
] |
@Uwe Install program for mod harbour
|
[
{
"date": "2019-09-30",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hello Uwe,\nthank you so much.\nI am setting up 2 VS with WINDOWS 2019 Server - I had to download an English version as my version only allowed German as language.\nTomorrow I will attach the servers to the internet.\nThen we can test the new installation program.\n\nI write you when I am ready.\nBest regards\nOtto",
"time": "19:30",
"topic": "@Uwe Install program for mod harbour",
"username": "Otto"
}
] |
@Uwe Install program for mod harbour
|
[
{
"date": "2019-10-01",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Otto,\n\nnow we can select from a listbox any install / download we need\n( not only 2 options ) with a double-click on the share-symbol.\nAfter a selection the title and inner section of the installer will be complete repainted.\n\n[img:2aatse6d]http://www.pflegeplus.com/IMAGES/Install8.jpg[/img:2aatse6d]\n\nregards\nUwe <!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D -->",
"time": "10:02",
"topic": "@Uwe Install program for mod harbour",
"username": "ukoenig"
}
] |
@Uwe Install program for mod harbour
|
[
{
"date": "2019-10-01",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hi Uwe,\n\nthis looks really great. Congratulations!\n\nIs it possible to test the installer?\n\nKind regards\nIris",
"time": "16:19",
"topic": "@Uwe Install program for mod harbour",
"username": "Iris Gesser"
}
] |
@Uwe Install program for mod harbour
|
[
{
"date": "2019-10-01",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Iris,\n\nno problem\nAll defined downloads are tested and are working.\n\nDOWNLOAD\n\n<!-- m --><a class=\"postlink\" href=\"http://www.pflegeplus.com/DOWNLOADS/Install1.zip\">http://www.pflegeplus.com/DOWNLOADS/Install1.zip</a><!-- m -->\n\nwith the new submenu < share > we can add more useful downloads or installs.\nBecause the tool stays on top You can download everything at once just change\nthe download-selection like from APACHE to IIS.\nIn case of a not working download You can activate the deactivated button again.\nThere is a small reloader included. Changing the download-page\nthe program will be closed and autostarted with the new repainted page ( selection )\nThe selected page and screen-position is saved to a INI and will be shown on restart.\n\nI'm still working on the setup to change colors and other settings.\nFor the moment the dialog is still empty\n\nThe help-button is still unused.\nWe can add a submenu to collect different useful infos.\n\nbest regards\nUwe <!-- s:lol: --><img src=\"{SMILIES_PATH}/icon_lol.gif\" alt=\":lol:\" title=\"Laughing\" /><!-- s:lol: -->",
"time": "17:15",
"topic": "@Uwe Install program for mod harbour",
"username": "ukoenig"
}
] |
@Uwe Install program for mod harbour
|
[
{
"date": "2019-10-01",
"forum": "FiveWin for Harbour/xHarbour",
"text": "WOW, Uwe, this tool is so strong.\nI have just set up Mod_Harbour on my PC at home. Thanks to you it took me not more than 15 min!\nJust great!\nXAMPP was no problem at all...\nI have only clicked on the links and the installation was done...\nCan you tell me, what the firewall-settings are for? \n\nKind regards\nIris",
"time": "21:59",
"topic": "@Uwe Install program for mod harbour",
"username": "Iris Gesser"
}
] |
@Uwe Install program for mod harbour
|
[
{
"date": "2019-10-03",
"forum": "FiveWin for Harbour/xHarbour",
"text": "I added the setup-section and release-date,\n2 graphic-apps downloads and the Fivetech-connection\nnow it is possible to change the complete color-set\non the left the possible changes and on the right the preview\nThe fivetech and harbour image are alhablended now with round corners\n \nWith the < Save-button > You can save the new values.\nThe < Exit-button > restores the old values and returns to the main-window.\n\nI will start with a DBF-solution that saves and restores defined links or installs.\nIt means the user can modify the different positions or add his own links.\n \nDOWNLOAD\n\n<!-- m --><a class=\"postlink\" href=\"http://www.pflegeplus.com/DOWNLOADS/Install1.zip\">http://www.pflegeplus.com/DOWNLOADS/Install1.zip</a><!-- m -->\n\n[img:2a9n2t7l]http://www.pflegeplus.com/IMAGES/Install10.jpg[/img:2a9n2t7l]\n\nregards\nUwe <!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D -->",
"time": "18:08",
"topic": "@Uwe Install program for mod harbour",
"username": "ukoenig"
}
] |
@Uwe Install program for mod harbour
|
[
{
"date": "2019-10-05",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hello Uwe,\nit seems to me that the window gets during installation minimized and then you have no option to bring it back on screen.\nCan you please test it. Also I do not see the msginfos with the text what next to do.\nThank you and best regards\nOtto",
"time": "08:37",
"topic": "@Uwe Install program for mod harbour",
"username": "Otto"
}
] |
@Uwe Install program for mod harbour
|
[
{
"date": "2019-10-05",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hello Otto,\nthe next release will include many improvements\nlike a complete user defined visual-design <!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D --> \n\n[quote:2cp56bor]Also I do not see the msginfos with the text what next to do.[/quote:2cp56bor]\n< what to do next > is defined inside the tooltip\nand show as message at the end of the buttonlist on button-action. \n\n[quote:2cp56bor]it seems to me that the window gets during installation minimized and then you have no option to bring it back on screen.[/quote:2cp56bor]\nduring a internetconnection the tool stays on top with full size\nthere is a minimize-button included if wanted to use\nbut I can check if Iconized at startup if yes set to full size \nI added [color=#0000FF:2cp56bor]oWnd:Normal()[/color:2cp56bor] on window-init \n\nthere is a iconize-button\n\n@ 15, oWnd:nWidth - 80 BTNBMP oBtnResize ;\nFILE c_path1 + \"Resize1.bmp\", \"\", \"\", ;\n c_path1 + \"Resize2.bmp\" ;\nFLAT NOBORDER NOROUND ACTION [color=#0000FF:2cp56bor]oWnd:Iconize() [/color:2cp56bor]SIZE 24, 24 \noBtnResize:lTransparent := .T.\noBtnResize:cToolTip := { \"Minimize\", \"TASKBAR\", 1, CLR_BLACK, 14089979 }\n\n[img:2cp56bor]http://www.pflegeplus.com/IMAGES/Install11.jpg[/img:2cp56bor]\n\nregards\nUwe <!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D -->",
"time": "09:49",
"topic": "@Uwe Install program for mod harbour",
"username": "ukoenig"
}
] |
@Uwe Install program for mod harbour
|
[
{
"date": "2019-10-07",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Many improvements\nI rebuild and finished the config-section and added predefined brushes\nAdded 2 buttons for the comming translation and project planing\nthat means adding Your own download-links and translate all text to Your language.\nA new message-area with possible 2 lines.\nFull preview at runtime of all selections from the config-section.\n\nDOWNLOAD\n\n<!-- m --><a class=\"postlink\" href=\"http://www.pflegeplus.com/DOWNLOADS/Install2.zip\">http://www.pflegeplus.com/DOWNLOADS/Install2.zip</a><!-- m -->\n\n[img:b8ajq0pe]http://www.pflegeplus.com/IMAGES/Install12.jpg[/img:b8ajq0pe]\n\nThe next release can work with a project-file\nit belongs to the same positions like the hard coded menus and buttons\n\n3 main-groups ( A, B and C )\n5 sections each group ( can be more if needed )\n7 buttons for each section\n\nYou can add a link or run a exe.file\nNO seek needed just jump right to the needed button-group with the radio-selection.\nCopy / past a link or add a buttontext and message\n\nI think I will change to a dialog without title and round corners to make it equal. <!-- s:!: --><img src=\"{SMILIES_PATH}/icon_exclaim.gif\" alt=\":!:\" title=\"Exclamation\" /><!-- s:!: --> \n\n[img:b8ajq0pe]http://www.pflegeplus.com/IMAGES/Install13.jpg[/img:b8ajq0pe]\n\nregards\nUwe <!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D -->",
"time": "13:04",
"topic": "@Uwe Install program for mod harbour",
"username": "ukoenig"
}
] |
@Uwe Install program for mod harbour
|
[
{
"date": "2019-10-15",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Again many improvements\nI changed < app on top > to < normal > for better working inside the internet \n\nDOWNLOAD\n\n<!-- m --><a class=\"postlink\" href=\"http://www.pflegeplus.com/DOWNLOADS/Install3.zip\">http://www.pflegeplus.com/DOWNLOADS/Install3.zip</a><!-- m -->\n\nYou can collect any links or exe now and run them using the group-button on the righthand side\nData can be added with cell-double-click or from the get at the bottom.\nThe focused cell will use the value.\n3 DBF's are running synchron now.\nBefore connecting to the internet, You can open < Notepad > to copy and paste the links.\nNO scrollbar needed just use the arrow-buttons on top.\nNext steps will be : buttontext and messages are showing the vars from the DBF\n\n[img:1fbm9csw]http://www.pflegeplus.com/IMAGES/Install14.jpg[/img:1fbm9csw]\n\ncollect any interesting samples on Your computer or forum-links.\n\n[img:1fbm9csw]http://www.pflegeplus.com/IMAGES/Install15.jpg[/img:1fbm9csw]\n\nregards\nUwe <!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D -->",
"time": "15:52",
"topic": "@Uwe Install program for mod harbour",
"username": "ukoenig"
}
] |
@Uwe Install program for mod harbour
|
[
{
"date": "2008-08-20",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Picture \"@Z\" seems not to be working. If I select enter on the get it should remove the existing value and let me enter a new value. Not working. \r\n\r\nIt leaves the last value of mprod_num and if I enter a new value it adds to the old value instead of removing it.\r\nmprod_num is a character.\r\n\r\n[code:1bkph9fs]\nREDEFINE GET oGet[1] VAR mprod_num ID 105 OF oDlg12 PICTURE \"@K\" UPDATE valid(lValue := fVal(mprod_num),if(lValue == .t.,(getprice(odlg12),getnumber(odlg12,oGet2),newData(oDlg12)),mprod_num := space(20)),.t.) [/code:1bkph9fs]",
"time": "02:50",
"topic": "@Z not working",
"username": "hag"
}
] |
@Z not working
|
[
{
"date": "2008-08-20",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hag,\r\n\r\nHmm, did you mean the \"@K\" picture is not working?\r\n\r\nJames",
"time": "06:24",
"topic": "@Z not working",
"username": "James Bott"
}
] |
@Z not working
|
[
{
"date": "2008-08-20",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Sorry @K....",
"time": "07:09",
"topic": "@Z not working",
"username": "hag"
}
] |
@Z not working
|
[
{
"date": "2008-08-20",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hag,\r\n\r\nIf you remove the VALID clause do you still have the same problem?\r\n\r\nJames",
"time": "07:29",
"topic": "@Z not working",
"username": "James Bott"
}
] |
@Z not working
|
[
{
"date": "2008-08-20",
"forum": "FiveWin for Harbour/xHarbour",
"text": "I guess the effect of @K picture clause is that if we enter any text, it clears the buffer and takes our key strokes, but if we press Enter, the orginal text remains",
"time": "08:04",
"topic": "@Z not working",
"username": "nageswaragunupudi"
}
] |
@Z not working
|
[
{
"date": "2008-08-20",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hag,\r\n\r\n>If I select enter on the get it should remove the existing value and let me enter a new value. Not working. \r\n\r\nI assume that you are saying that if you arrive at the GET using the Enter key from a previous GET, then the existing value remains.\r\n\r\nAs NageswaraRao says, this is not the way it is supposed to work. From the Clipper manual:\r\n\r\n\"@K Deletes default text if the first key is not the cursor key.\"\r\n\r\nJames",
"time": "08:14",
"topic": "@Z not working",
"username": "James Bott"
}
] |
@Z not working
|
[
{
"date": "2008-08-20",
"forum": "FiveWin for Harbour/xHarbour",
"text": "This example is working fine here:\r\n[code:rrcxtjkn]\n#include \"FiveWin.ch\"\n\nfunction Main()\n\n local oDlg, cText := \"Hello world!\"\n\n DEFINE DIALOG oDlg TITLE \"@K test\"\n\n @ 2, 2 GET cText PICTURE \"@K\"\n\n ACTIVATE DIALOG oDlg CENTERED\n\nreturn nil\n[/code:rrcxtjkn]",
"time": "08:56",
"topic": "@Z not working",
"username": "Antonio Linares"
}
] |
@Z not working
|
[
{
"date": "2008-08-21",
"forum": "FiveWin for Harbour/xHarbour",
"text": "All:\r\nRegarding \"@K\"\r\n\r\nI've done everything I can think of and it won't work. The get is a 20 character value. \r\nAnd it seems the only way to do it is swipe the characters\r\nto highlight them then they can be changed. \r\n\r\nIs there a way when placing an ibeam or left clicking on the get it can automatically hilight all the characters like an internet address bar does.\r\n\r\nThanks all",
"time": "17:30",
"topic": "@Z not working",
"username": "hag"
}
] |
@Z not working
|
[
{
"date": "2008-08-21",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Harvey,\r\n\r\nDid you try Antiono's example? I just tried it and it is working fine here. Run the program, type any character and all the text vanishes. If you use the right arrow key, instead, then you can move anywhere in the text. This is exactly how it is supposed to work.\r\n\r\nPerhaps you were expecting it to work differently?\r\n\r\nIf yours is not working like the above description, then either you have an old version of FWH (the @K was broken some time back--a couple of years ago), or there is something else in your code causing the problem.\r\n\r\nI am using FWH 8.05.\r\n\r\nJames",
"time": "19:40",
"topic": "@Z not working",
"username": "James Bott"
}
] |
@Z not working
|
[
{
"date": "2008-08-21",
"forum": "FiveWin for Harbour/xHarbour",
"text": "James\r\nThe only difference between Antonios code and mine is he doesn't use the picture command. I'll check to see if that may be my problem. My FWH was downloaded about a month ago. S/b new. Using 807.\r\n\r\nThanks again",
"time": "20:00",
"topic": "@Z not working",
"username": "hag"
}
] |
@Z not working
|
[
{
"date": "2008-08-21",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Harvey,\r\n\r\nMy example is using the PICTURE command:\r\n\r\n @ 2, 2 GET cText [color=red:36u4ekl2]PICTURE \"@K\" [/color:36u4ekl2]",
"time": "20:05",
"topic": "@Z not working",
"username": "Antonio Linares"
}
] |
@Z not working
|
[
{
"date": "2008-08-21",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Harvey,\r\n\r\nYou must be referring to some other code. I was referring to this code where he is using the picture command.\r\n\r\nJames\r\n\r\n[code:zj18apy0]#include \"FiveWin.ch\" \n\nfunction Main() \n\n local oDlg, cText := \"Hello world!\" \n\n DEFINE DIALOG oDlg TITLE \"@K test\" \n\n @ 2, 2 GET cText PICTURE \"@K\"\n\n ACTIVATE DIALOG oDlg CENTERED \n\nreturn nil [/code:zj18apy0]",
"time": "20:06",
"topic": "@Z not working",
"username": "James Bott"
}
] |
@Z not working
|
[
{
"date": "2008-08-21",
"forum": "FiveWin for Harbour/xHarbour",
"text": "ooops",
"time": "20:06",
"topic": "@Z not working",
"username": "hag"
}
] |
@Z not working
|
[
{
"date": "2008-09-09",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hello,\r\n\r\nThe new Browser-tool-version 2a includes many new functions\r\nand is nearly finished.\r\n\r\nIt is possible now, to create Gradient and Non-gradient Header and Footer.\r\nDifferent fonts for Header and Footer ( Gradient and NON-gradient ).\r\nDifferent colors for NON-gradient Header and Footer.\r\n\r\n[img:2c4hh47g]http://www.pflegeplus.com/pictures/folder3.jpg[/img:2c4hh47g]\r\n\r\nI have a question :\r\n\r\nIs it possible, to disable the footer-color-browser on page 2, in relation\r\nto the setting < Gradien ON > < Gradient OFF > in page 1 ?\r\nIt means : If i change to Gradient -display, the 1. color-browser\r\non page 2 has to be disabled.\r\n\r\nI tested like :\r\n\r\n[code:2c4hh47g]\nREDEFINE FOLDER oFld ID 110 OF oDlg FONT oProgFont ; \nPROMPTS \" &Header \", \" &Footer \", \" &Styles / Cells \", ;\n\" &Data-Colors / Font \", \" &Background / Bitmaps \", \"Settings\" ;\nDIALOGS \"Browse1\",\"Browse2\",\"Browse3\",\"Browse4\",\"Browse5\",\"Browse6\" ;\nON CHANGE( IIF( nOption = 2, ( FOLDER_2(oDlg,oFld,oLbx0, oRESULT0, oLbx6 ), oLbx6:Disable()), NIL ) )\n\n// I changed to < Gradient > in page 1. After that, \n// I changed to folder-page 2 and wanted the 1. color-browser disabled.\n// but it didn't work.\n\n[/code:2c4hh47g]\r\n\r\nIs there maybe another solution ?\r\n\r\nRegards\r\nUwe <!-- s:lol: --><img src=\"{SMILIES_PATH}/icon_lol.gif\" alt=\":lol:\" title=\"Laughing\" /><!-- s:lol: -->",
"time": "16:37",
"topic": "A \"special\" - question about folders. => solved",
"username": "ukoenig"
}
] |
A "special" - question about folders. => solved
|
[
{
"date": "2008-09-09",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Uwe,\r\n\r\nYou have defined an ON CHANGE for the folders and that is not what you need. You are going to have to disable the browse inside the routine you are using to change the gradient flag.\r\n\r\nJames",
"time": "16:49",
"topic": "A \"special\" - question about folders. => solved",
"username": "James Bott"
}
] |
A "special" - question about folders. => solved
|
[
{
"date": "2008-09-09",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hello James,\r\n\r\nI tested this solution as well and there was a < msgalert > \r\nafter the define of < browser 1 > in page 2.\r\nWith the flag from page 1 : Gradient ON / OFF i want to enable / disable\r\nthe 1. browser on page 2.\r\nIt seems, if the folder is defined, the contents of the pages are \r\nin memory. When i change to page 2, nothing happens.\r\n( the page 2 runs only once at start ).\r\nIf i use < ON CHANGE > there is a stop, to define anything.\r\n\r\nThe browser for NON-gradient-color\r\nThe msgAlert is shown only once at start !!!\r\n\r\n[code:hwophx32]\n\noLbx6 := TXBrowse():New( oFld:aDialogs[2] )\noLbx6:nMarqueeStyle := MARQSTYLE_HIGHLROW\noLbx6:nColDividerStyle\t := LINESTYLE_BLACK\noLbx6:nRowDividerStyle := LINESTYLE_BLACK\noLbx6:nRecSelColor = 15512898 \noLbx6:bClrSelFocus = { || { 16777215, 15512898 } } \noLbx6:bClrSel = { || { 16777215, 15512898 } } \n\noLbx6:SetArray( aBRCOLOR )\noLbx6:aCols[ 1 ]:cHeader = Padr(\"No.\", 3)\noLbx6:aCols[ 2 ]:cHeader = Padr(\"Start\", 19)\noLbx6:lHScroll := .F.\noLbx6:lVScroll := .F.\noLbx6:lFooter := .T.\n\noLbx6:bLClicked := { | nRow, nCol | BR_START := oLbx6:nRowSel, ;\n BR_COLOR3 := NEW_COLOR2(), ;\n NEW_FPAINT(oLbx0), ;\n oBmp1:bPainted := { |hDC|OnPaint1( hDC,oBMP1,BR_COLOR3) }, ; \n oBmp1:Refresh(), oBR_COLOR3:Refresh() }\n\noLbx6:aCols[ 2 ]:AddResource(\"Black\")\noLbx6:aCols[ 2 ]:AddResource(\"White\")\noLbx6:aCols[ 2 ]:AddResource(\"Blue\")\noLbx6:aCols[ 2 ]:AddResource(\"Green\")\noLbx6:aCols[ 2 ]:AddResource(\"Red\")\noLbx6:aCols[ 2 ]:AddResource(\"Yellow\")\noLbx6:aCols[ 2 ]:AddResource(\"Magenta\")\noLbx6:aCols[ 2 ]:bBmpData := {|| oLbx6:nArrayAt }\noLbx6:aCols[ 2 ]:bStrData := {|| oLbx6:aRow[2] } \n\noLbx6:nArrayAt := 3\noLbx6:nRowSel := 3\n\noLbx6:nFooterHeight := 15\n\noLbx6:CreateFromResource( 110 )\n\n// Nothing happens, if you choose page 2\n// The MsgAlert is only shown once at start.\n\nIF nHEADGRAD = 1 // Gradient ON\n Msgalert( \"Disabled\" )\n oLbx6:Disable()\nENDIF\n...\n...\n...\n\n[/code:hwophx32]\r\nRegards\r\nUwe <!-- s:lol: --><img src=\"{SMILIES_PATH}/icon_lol.gif\" alt=\":lol:\" title=\"Laughing\" /><!-- s:lol: -->",
"time": "17:06",
"topic": "A \"special\" - question about folders. => solved",
"username": "ukoenig"
}
] |
A "special" - question about folders. => solved
|
[
{
"date": "2008-09-09",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Uwe,\r\n\r\nI do not see the code where you are changing the gradient flag. You cannot disable the browse during the screen setup code, or using any ON CHANGE clause. You are changing the gradient flag when the brows is running so you have to disable the other browse inside whatever routine you have that you are using to change the gradient flag.\r\n\r\nI hope that is more clear.\r\n\r\nJames",
"time": "17:33",
"topic": "A \"special\" - question about folders. => solved",
"username": "James Bott"
}
] |
A "special" - question about folders. => solved
|
[
{
"date": "2008-09-09",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hello James,\r\n\r\nThat is the SWITCH-browser on Page 1\r\nThe position defines the Var < nHEADGRAD > = 1 or 2\r\nInside Page 1, i can enable / disable Browser 2 and 4\r\nand it works fine.\r\nBut i cannot reach the color-browser 1 on page 2\r\nThe easy way would be, to move this browser to page 1,\r\nthere it would be no problem, but there is no space anymore.\r\nAll Header-settings are on Page 1 and the Footer-settings are on page 2 now.\r\n\r\n[code:2jwbovlr]\n\n// --------------------- GRADIENT ON / OFF on Folder-page 1 ---------------\n\nREDEFINE BUTTONBMP oTITLE10 ID 670 OF oFld:aDialogs[1] ;\nACTION MsgAlert(\"With this Browser, you set\" + CRLF + ;\n \"the Gradient-Color to Single Color\",\"Gradient\" ) ;\nBITMAP \"Info1\" PROMPT \" Gradient\" TEXTRIGHT\noTITLE10:cToolTip = { \"Click the Button\" + CRLF + ;\n \"for information\",\"Click-color\", 1, CLR_BLACK, 14089979 } \n\noLbx50 := TXBrowse():New( oFld:aDialogs[1] )\noLbx50:nMarqueeStyle := MARQSTYLE_HIGHLROW\noLbx50:nColDividerStyle\t := LINESTYLE_BLACK\noLbx50:nRowDividerStyle := LINESTYLE_BLACK\noLbx50:SetArray( aHEADGRAD )\noLbx50:aCols[ 1 ]:cHeader = Padr(\"No.\", 3)\noLbx50:aCols[ 2 ]:cHeader = Padr(\"Style\", 20)\noLbx50:nRecSelColor = 15512898 \noLbx50:bClrSelFocus = { || { 16777215, 15512898 } } \noLbx50:bClrSel = { || { 16777215, 15512898 } } \noLbx50:lHScroll := .F.\noLbx50:lVScroll := .F.\noLbx50:lFooter := .T.\noLbx50:nFooterHeight := 15\n\n// On cursor-position 2, Browser oLbx3 and olbx5 are Disabled\n// BRW_DISABL(oLbx3) and BRW_DISABL(oLbx5) \n// do the Grey-painting\n\noLbx50:bLClicked := { | nRow, nCol | ( nHEADGRAD := oLbx50:nRowSel, ;\n IIF( nHEADGRAD = 2, ( oLbx3:Disable(), oLbx5:Disable(), ;\n BRW_DISABL(oLbx3), BRW_DISABL(oLbx5), ;\n NEW_HPAINT(oLbx0), NEW_FPAINT(oLbx0) ), ;\n ( oLbx3:Enable(), oLbx5:Enable(), ;\n BRW_ENABL(oLbx3), BRW_ENABL(oLbx5), ;\n NEW_HPAINT(oLbx0), NEW_FPAINT(oLbx0) ) ) ) }\n\noLbx50:aCols[ 2 ]:AddResource(\"Green\")\noLbx50:aCols[ 2 ]:AddResource(\"Red\")\noLbx50:aCols[ 2 ]:bBmpData := {|| oLbx50:nArrayAt }\noLbx50:aCols[ 2 ]:bStrData := {|| oLbx50:aRow[2] } \n\noLbx50:nArrayAt := 1\noLbx50:nRowSel := 1\n\noLbx50:CreateFromResource( 150 )\n\n....\n....\n\n// -----------------------------------------\n\nFUNCTION BRW_DISABL(oLbx)\n\n*oLbx:bClrGrad := NIL\n*oLbx:l2007 := .F.\ni := 1\nFOR i := 1 TO LEN(oLbx:aCols)\n WITH OBJECT oLbx:aCols[i]\n :bClrHeader := { || { 0, 13750737 } } \n :bClrFooter := { || { 0, 13750737 } } \n :bClrStd = { || { 0, 13750737 } }\n END\nNEXT\n\noLbx:Refresh()\n\nRETURN( NIL )\n\n\n[/code:2jwbovlr]",
"time": "17:51",
"topic": "A \"special\" - question about folders. => solved",
"username": "ukoenig"
}
] |
A "special" - question about folders. => solved
|
[
{
"date": "2008-09-09",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Uwe,\r\n\r\n>But i cannot reach the color-browser 1 on page 2 \r\n\r\nI assume you mean the variable is not available. You can either make it a public (not recommended), a file-wide static, a static in a set/get function, or make your app into a class and make it DATA.\r\n\r\nJames",
"time": "17:56",
"topic": "A \"special\" - question about folders. => solved",
"username": "James Bott"
}
] |
A "special" - question about folders. => solved
|
[
{
"date": "2008-09-09",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hello James,\r\n\r\nThe var < nHEADGRAD > is public.\r\n\r\nIf i click on folder-tab 2, the screen is allways the same\r\nlike shown at the 1. folder-opening.\r\nThe function doesn't test the value of < nHEADGRAD >\r\nand modifys the browser. \r\nThere have been some more alerts in the function.\r\nThe alerts don't display again, only once at the 1. folder-start.\r\nThe problem is : inside a page you can modify the values,\r\nbut from another page ?\r\n\r\nRegards\r\nUwe <!-- s:lol: --><img src=\"{SMILIES_PATH}/icon_lol.gif\" alt=\":lol:\" title=\"Laughing\" /><!-- s:lol: -->",
"time": "18:16",
"topic": "A \"special\" - question about folders. => solved",
"username": "ukoenig"
}
] |
A "special" - question about folders. => solved
|
[
{
"date": "2008-09-09",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Uwe,\r\n\r\nI guess I have still not been clear. The variable for the browse on folder 2 has to be visible--as a public or whatever. \r\n\r\n>The problem is : inside a page you can modify the values, \r\nbut from another page ? \r\n\r\nAs long as the variables are accessible, you can change them from anywhere. This is why they have to be publics, statics, or class data.\r\n\r\nJames",
"time": "18:25",
"topic": "A \"special\" - question about folders. => solved",
"username": "James Bott"
}
] |
A "special" - question about folders. => solved
|
[
{
"date": "2008-09-09",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hello James,\r\n\r\nI found out, what is wrong.\r\nI had to do my own folder-structure, because the size of the application is very big.\r\nI tested my structure with a small sample.\r\nResult : the same problem.\r\nPage 1 is a button with a counter\r\nThe alerts of page 2 and 3 are only shown at prog-start.\r\nwith a click on tab 2 or 3, no alert displays.\r\nBut actions inside the pages ( buttons ) are ok.\r\nThe counter-value display on button-click is ok, but the alerts are not\r\ndisplayed. That is the reason, because i don't get the browser disabled.\r\nI don't start a action inside of a folder-page to disable the browser. \r\nOn Button-click it works.\r\nOnly a folder-tab change, doesn't do this for me.\r\n\r\n[code:y28nbve1]\n\n#include \"FiveWin.ch\"\n\n//----------------------------------------------------------------------------//\n\nFUNCTION MAIN()\n\nlocal oDlg, oFld\n\nnCOUNTER := 1\n\nDEFINE DIALOG oDlg TITLE \"FiveWin Dynamic folders\" ;\nFROM 5, 5 TO 20, 50 COLOR \"N/G\"\n\n@ 0.5, 1 FOLDER oFld PROMPT \"&xBase\", \"&And OOP\", \"&Power\" ;\nOF oDlg SIZE 160, 90\n\nPAGE_1( oFld )\n\nPAGE_2( oFld )\n\nPAGE_3( oFld )\n\nACTIVATE DIALOG oDlg CENTERED\n\nRETURN NIL\n\n// ---------------------------------------------------------------------------\n\nFUNCTION PAGE_1( oFld )\n\n@ 1, 1 BUTTON \"&Counter\" OF oFld:aDialogs[ 1 ] ;\n ACTION ( nCOUNTER++, MsgAlert( nCOUNTER ) ) \n\nRETURN NIL\n\n// ---------------------------------------------------------------------------\n\nFUNCTION PAGE_2( oFld )\n\n@ 1, 1 BUTTON \"&Counter\" OF oFld:aDialogs[ 2 ] ;\n ACTION ( IIF( nCounter > 1, MsgAlert( nCounter ), NIL )\n\n// That works only on Button-click\n// but i don't want to press a button to disable the browser\n// i need a automatic disable of the browser on page-changing\n// ---------------------------------------------------------------------\nIf nCounter > 1\n MsgAlert( nCounter )\nEndif\n\nRETURN NIL\n\n// ---------------------------------------------------------------------------\n\nFUNCTION PAGE_3( oFld )\n\n@ 1, 1 BUTTON \"&Counter\" OF oFld:aDialogs[ 3 ] ;\n ACTION ( MsgAlert( nCOUNTER ) ) \n\nMsgAlert( nCounter )\n\nRETURN NIL\n\n[/code:y28nbve1]\r\n\r\nRegards\r\nUwe <!-- s:lol: --><img src=\"{SMILIES_PATH}/icon_lol.gif\" alt=\":lol:\" title=\"Laughing\" /><!-- s:lol: -->",
"time": "20:36",
"topic": "A \"special\" - question about folders. => solved",
"username": "ukoenig"
}
] |
A "special" - question about folders. => solved
|
[
{
"date": "2008-09-09",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Uwe,\r\n\r\n[code:ll74mh8d]PAGE_1( oFld ) \n\nPAGE_2( oFld ) \n\nPAGE_3( oFld ) \n\nACTIVATE DIALOG oDlg CENTERED[/code:ll74mh8d] \r\n\r\nThe three functions, page_1, page_2, and page_3 are going to get called once each just before the maine dialog is activated. This is not what you want.\r\n\r\nYou have to also define a dialog for each folder. The function to change the gradient has to be called from one of the controls on one of the folders. The browse you want to disable has to be a visible variable that can be accessed, then you can access it from the gradient change function.\r\n\r\nJames",
"time": "21:08",
"topic": "A \"special\" - question about folders. => solved",
"username": "James Bott"
}
] |
A "special" - question about folders. => solved
|
[
{
"date": "2008-09-10",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Hello James,\r\n\r\nI found a solution for my problem and it works perfect.\r\n\r\n[img:110879ej]http://www.pflegeplus.com/pictures/grad12a.jpg[/img:110879ej]\r\n\r\n[code:110879ej]\n\nAt first, the browse-object on page 2 ( oLbx6 ) has to be static\nThe Switch-var < nHEADGRAD > is PRIVATE\n\nstatic oWnd, oDlg, oFld, oLbx6\n\nI used the old structure, but added ON CHANGE ( only needed for page 2 )\n\nREDEFINE FOLDER oFld ID 110 OF oDlg FONT oProgFont ; \nPROMPTS \" &Header \", \" &Footer \", \" &Styles / Cells \", \" &Data-Colors / Font \", \" &Background / Bitmaps \", \"Settings\" ;\nDIALOGS \"Browse1\",\"Browse2\",\"Browse3\",\"Browse4\",\"Browse5\",\"Browse6\" ;\nON CHANGE( TEST_FOLD( nOption, nOldOption, oLbx6 ) )\n\nFOLDER_1(oDlg,oFld,oLbx0)\n\nFOLDER_2(oDlg,oFld,oLbx0, oRESULT0)\n\nFOLDER_3(oDlg,oFld,oLbx0)\n\nFOLDER_4(oDlg,oFld,oLbx0)\n\nFOLDER_5(oDlg,oFld,oLbx0)\n\nFOLDER_6(oDlg,oFld,oLbx0)\n\n...\n...\n\n// --------------------- GRADIENT ON / OFF in Folder-page 1 -------------\n\noLbx50 := TXBrowse():New( oFld:aDialogs[1] )\noLbx50:nMarqueeStyle := MARQSTYLE_HIGHLROW\noLbx50:nColDividerStyle\t := LINESTYLE_BLACK\noLbx50:nRowDividerStyle := LINESTYLE_BLACK\noLbx50:SetArray( aHEADGRAD )\noLbx50:aCols[ 1 ]:cHeader = Padr(\"No.\", 3)\noLbx50:aCols[ 2 ]:cHeader = Padr(\"Style\", 20)\noLbx50:nRecSelColor = 15512898 \noLbx50:bClrSelFocus = { || { 16777215, 15512898 } } \noLbx50:bClrSel = { || { 16777215, 15512898 } } \noLbx50:lHScroll := .F.\noLbx50:lVScroll := .F.\noLbx50:lFooter := .T.\noLbx50:nFooterHeight := 15\n\n// I get the value for < nHEADGRAD > for page 2 \n// and enable / disable 2 browsers in page 1\n\noLbx50:bLClicked := { | nRow, nCol | ( nHEADGRAD := oLbx50:nRowSel, ;\nIIF( nHEADGRAD = 2, ;\n ( oLbx3:Disable(), oLbx5:Disable(), ;\n BRW_DISABL(oLbx3), BRW_DISABL(oLbx5), ;\n NEW_HPAINT(oLbx0), NEW_FPAINT(oLbx0) ), ;\n ( oLbx3:Enable(), oLbx5:Enable(), ;\n BRW_ENABL(oLbx3), BRW_ENABL(oLbx5), ;\n NEW_HPAINT(oLbx0), NEW_FPAINT(oLbx0) ) ) ) }\n\noLbx50:aCols[ 2 ]:AddResource(\"Green\")\noLbx50:aCols[ 2 ]:AddResource(\"Red\")\noLbx50:aCols[ 2 ]:bBmpData := {|| oLbx50:nArrayAt }\noLbx50:aCols[ 2 ]:bStrData := {|| oLbx50:aRow[2] } \n\noLbx50:nArrayAt := 1\noLbx50:nRowSel := 1\n\noLbx50:CreateFromResource( 150 )\n\n\n//------ ENABLE / DISABLE the 1. Browser in Folderpage 2 -------//\n\nSTATIC FUNCTION TEST_FOLD( nOption, nOldOption )\n\nIF nOption == 2\n IF nHEADGRAD = 1\n oLbx6:Disable()\n BRW_DISABL(oLbx6)\n ELSE\n oLbx6:Enable()\n BRW_ENABL(oLbx6)\n ENDIF\nENDIF\n\nRETURN .T.\n\n// ------- GREY painting for DISABLED ----------------------------------\n\nFUNCTION BRW_DISABL(oLbx)\n\ni := 1\nFOR i := 1 TO LEN(oLbx:aCols)\n WITH OBJECT oLbx:aCols[i]\n :bClrHeader := { || { 0, 13750737 } } \n :bClrFooter := { || { 0, 13750737 } } \n :bClrStd = { || { 0, 13750737 } }\n END\nNEXT\n\noLbx:Refresh()\n\nRETURN( NIL )\n\n// --------- WHITE painting for ENABLED --------------------------------\n\nFUNCTION BRW_ENABL(oLbx)\n\ni := 1\nFOR i := 1 TO LEN(oLbx:aCols)\n WITH OBJECT oLbx:aCols[i]\n :bClrHeader := { || { 0, 16777215 } } \n :bClrFooter := { || { 0, 16777215 } } \n :bClrStd = { || { 0, 16777215 } }\n END\nNEXT\n\noLbx:Refresh()\n\nRETURN( NIL )\n\n[/code:110879ej]\r\n\r\nRegards\r\nUwe <!-- s:lol: --><img src=\"{SMILIES_PATH}/icon_lol.gif\" alt=\":lol:\" title=\"Laughing\" /><!-- s:lol: -->",
"time": "01:59",
"topic": "A \"special\" - question about folders. => solved",
"username": "ukoenig"
}
] |
A "special" - question about folders. => solved
|
[
{
"date": "2008-09-10",
"forum": "FiveWin for Harbour/xHarbour",
"text": "Uwe,\r\n\r\nGlad to hear you got it working.\r\n\r\n>The Switch-var < nHEADGRAD > is PRIVATE \r\n\r\nI would avoid PRIVATEs like the plague. Remember they are visible inside any and all functions called by code where they are visible. This includes FWH and (x)Harbour functions too.\r\n\r\nIt would be better as a file-wide static. [It would be best as class data in a class.]\r\n\r\nJames",
"time": "02:08",
"topic": "A \"special\" - question about folders. => solved",
"username": "James Bott"
}
] |
A "special" - question about folders. => solved
|
[
{
"date": "2008-09-10",
"forum": "FiveWin for Harbour/xHarbour",
"text": "James,\r\n\r\nthank you very much for your help.\r\nI think it is possible now with this version, \r\nto cover all needed visual-designs for xBrowse.\r\nThere are source-results on each page.\r\nI will put them all together as a small MDI - Test-application\r\nwith main-window, a dialog and the created browser. \r\n\r\nGreetings from Germany\r\nUwe <!-- s:lol: --><img src=\"{SMILIES_PATH}/icon_lol.gif\" alt=\":lol:\" title=\"Laughing\" /><!-- s:lol: -->",
"time": "02:49",
"topic": "A \"special\" - question about folders. => solved",
"username": "ukoenig"
}
] |
A "special" - question about folders. => solved
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.