topic
stringlengths
1
63
text
stringlengths
1
577k
downloading files from internet
Rajeev, >The problem I am getting is the variable would'nt hold more than 65K.Does TTxtFile class contain a way to overcome the 65K limit ? Only by going to 32bit. 65K is the 16bit limit. James
downloading files from internet
Hi Jeff What is the limit for 32bit ? In case the file I am downloading is huge Thanks Rajeev chavan
downloading files from internet
The limit is the available memory. EMG
downloading files from internet
Hi Enrico Nice to hear from you, <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D --> .Is there step by guide available for Harbor or xHarbor ? with best wishes Rajeev Chavan
downloading files from internet
Rajeev, >Is there step by guide available for Harbor or xHarbor ? This site might help. <!-- m --><a class="postlink" href="http://culikr.sites.uol.com.br/howtoen.htm">http://culikr.sites.uol.com.br/howtoen.htm</a><!-- m --> James
downloading files from internet
Hi James Thanks a lot for the link.I will definitely visit the link. With Best Wishes Rajeev Chavan
drag & drop box
Hello Antonio, could you please help me with this drag & drop box. I inherited xTRich. The program is working so far that I can drag: files from the explorer, emails and links from the addressbar of the internet explorer. The problem is that I can’t get it working in one dropbox for all the cases. Would you be so kind ...
drag & drop box
Otto, I have not tested your code yet, but I see a missing line that must be in FWH inherited classes from TWindow: CLASSDATA lRegistered AS LOGICAL Please check if that line makes any change in the problem you described, thanks
drag & drop box
Hello Antonio, I tested but it does not make any difference. Best regards, Otto
drag & drop box
Otto, Please provide me the RC for your example, thanks <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
drag & drop box
Hello Antonio, thank you for helping me. Best regards, Otto [url:2js3ear9]http&#58;//www&#46;atzwanger-software&#46;com/fw/xfang&#46;zip[/url:2js3ear9]
drag & drop box
Otto, You should not inherit from TRichEdit as it seems as that control is not properly accepting it. I mean: we can not always interfere in the behavior of a standard control. I modified your example to use a estandard TRichEdit and properly accepted everything <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" a...
drag & drop box
Hello Antonio, I am so glad. I tried several days to get it running. Thank you very much. Best regards, Otto
drag & drop box
Hello Antonio, I tried your Suggestion. I inserted a button like this: REDEFINE BUTTONBMP ID 4002 OF oDlg ; ACTION msginfo( oRich:gettext() ) When I drop files from Explorer oRich:gettext() is empty. Best regards, Otto
drag & drop box
Hello Antonio, is there any news on this subject. Thanks in advance Otto
drag & drop from outlook
To all,As I can’t get working drag & drop from Outlook I have now a workaround with VB6.The VB6 program waits for the drop down and then executes my Fivewin program with Shell (App.Path + "\testole.exe " & s).This is the whole sourcecode of the program:[code:2x4ql4dw]Private Sub Form_OLEDragDrop&#40;Data As DataObject,...
drag & drop from outlook
Is this code (from you) working ?[code:3fxbdzq8] #INCLUDE "FIVEWIN&#46;CH" function Main&#40;&#41; local oDlg DEFINE DIALOG oDlg FROM 5, 5 TO 20, 40 TITLE "Drag & Drop" oDlg&#58;bLButtonUp &#58;= &#123; |y,x,flags | DropFiles&#40; oDlg &#41; &#125; ACTIVATE DIALOG oDlg RETURN &#40;&#46;T&#46;&#41; //--...
drag & drop from outlook
Hello Antonio,The Outlook part is working perfectly.Only drag and drop does not work as suspected.This code works only “on click” I mean you select a message in outlook and then you click on the little window.Best regards,Otto
drag & drop from outlook
Maybe this C code can help to implement IDataobject?Part 3 - Implementing IDataObjectMany thanks to Davide Chiodi from Italy who has very kindly converted the data-obect code into a Pure C implementation - the download link is available at the bottom of this article!<!-- m --><a class="postlink" href="http://catch22.ne...
drag & drop from outlook
<!-- m --><a class="postlink" href="http://catch22.net/tuts/dragdrop/5">http://catch22.net/tuts/dragdrop/5</a><!-- m -->>Welcome to the fifth article in the "OLE Drag and Drop" tutorial series! We are almost at the final stages in our OLE drag and drop implementation. The only thing left to do is implement the IDropSou...
drag & drop from outlook
Otto,I have done a quick review at the source code, and it is C++ not C.It looks as an ActiveX implementation, something quite complex. I mean, it is not impossible to be implemented (using C++) but it is much more complex that the code that you already have working with just few FWH source code lines.
drag & drop from outlook
Hello Antonio,thank you for your answer.My implementation does not recognize the drop event. FiveWin only recognizes files if they are dropped not textonly. There is also pure C code:<!-- m --><a class="postlink" href="http://catch22.net/sites/default/files/Catch22OLEpart6.rar">http://catch22.net/sites/default/files/ ....
drag & drop from outlook
Otto,IMO it seems as a quite complex code. I am not saying that it is impossible. What I mean is that this may need several weeks to be tested and implemented.
drag & drop from outlook
Hello Antonio,I see and I understand.But I think I have found a FIVEWIN own build in solution.I tried with the richtext control and extended the eventhandle methodMETHOD HandleEvent( nMsg, nWParam, nLParam ) CLASS TRichEdit do case case nMsg == WM_NCHITTEST msginfo( procname() + " " + str(procl...
drag and drop
come posso inserire un disegnin posto come bottone sulla barra ( button bar) e inserirla immagine posta a sinistra dello schermo e salvare l'immagine modificata ?
drag and drop
I try to move a bitmap (ldrag) I can move the control within certain limits, inside a 'specific area and not let it get out of this? HowI can make and control it ?
drag and drop
it is possible select an image from a folder and drag it into a image control ?
drag and drop
you can try this [code=fw:buh0vl4q]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"FiveWin.ch"</span><br /><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"Image.ch"</span><br /><br /><span style="c...
drag and drop
only not run with TDIALOG
drag and drop
you can try this [code=fw:im9wwre9]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"FiveWin.ch"</span><br /><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"Image.ch"</span><br /><br /><br /><br /><s...
drag and drop from Outlook
I need to be able to drag and drop an email from Outlook not Outlook express and save it as a file (msg) somewhere. Has anyone seen a solution for this? It must be possible since you can drag an email out of outlook to explorer and it saves as a .msg file. I want basically the same result, but through my application....
drag and drop from outlook pure FIVEWIN solution
Now I have drag and drop from outlook working. Here is my source code. Regards, Otto exe file for testing: you need a c:\temp dir. Your email is saved there as a msg file. [url:31v78fl2]http&#58;//www&#46;winhotel&#46;at/fw/xfang&#46;zip[/url:31v78fl2] source: testdrop.prg [code:31v78fl2]#INCLUDE "FIVEWIN&#4...
drag and drop from outlook pure FIVEWIN solution
Otto, if I have many mail and each amil have one or many files attach how i can save all ? My wish is to save all on a cd rom and make an fwh appl to show mails it is possible ?
drag and drop from outlook pure FIVEWIN solution
Otto, I 'm trying a test with outlook 2003 you test make error see it pls [code=fw:1wkki80k]<div class="fw" id="{CB}" style="font-family: monospace;"><br />Application<br />===========<br />&nbsp; &nbsp;Path and <span style="color: #0000ff;">name</span>: <span style="color: #000000;">C</span>:\Documents and Settin...
drag and drop from outlook pure FIVEWIN solution
Hello Silvio, 2003 is a very old program and it seems there is a problem with ActiveX. Best regards, Otto
drag and drop from outlook pure FIVEWIN solution
and wichversion I can use ? I have 2002/2003 on 2002 run ok I not have 2010 and 2007
drag and drop from outlook pure FIVEWIN solution
Mister Otto, this program has not been updated? And what resource editor did you use to create the dialog? Thanks. Regards, saludos.
drag and drop from outlook pure FIVEWIN solution
Hello Joao, This is a very old program (2008 or earlier) but we use it every day with all customers. I'm searching for the source code and will post a new example. I am also working on a program to manage the emails. At the moment, everything is "floating". For the email desktop we need the following components: Docu...
drag and drop from outlook pure FIVEWIN solution
Thanks Mister Otto, as soon as possible I'll test this with Outlook. Get ready because I'll call you, is that okay with you? Although about outlook, I don't understand anything. Gracias señor Otto, lo antes posible probaré esto con Outlook. Prepárate porque te llamaré, ¿te parece bien? Aunque sobre Outlook, no entiend...
drag and drop from outlook pure FIVEWIN solution
hi Silvio, [quote="Silvio":235kcvse]if I have many mail and each amil have one or many files attach how i can save all ? My wish is to save all on a cd rom and make an fwh appl to show mails it is possible ?[/quote:235kcvse] you have this Code now [code=fw:235kcvse]<div class="fw" id="{CB}" style="font-family: monospac...
drag and drop from outlook pure FIVEWIN solution
Sorry, I not have this source code I made it many years ago I not Know where It can be
drag and drop tree
it's possible grah and drop a xbrowse trre to another ? sample I have one level and two sublevels can I drag it into another xbrowse all lines ( one level and his subleves rows)
drag drop oSay
Could someone show me what I am doing wrong that oSay drag doesn’t fire a oWnd:bDropOver? // FiveWin - own Drag&Drop new features !!! #include "FiveWin.ch" static oWnd //----------------------------------------------------------------------------// function Main() local oSay, oCrs, oIco1, oIco2, oIco3 DEFI...
drag drop oSay
I think there is SendMessage missing in the METHOD LButtonUp CLASS TControl if lDragging ... if ::lDrag ??? SendMessage() Could this be? Regards, Otto
drag drop oSay
Otto, Please add this in your PRG: oSay:lWantClick = .T.
drag drop oSay
Does not help: Please could you check the LButtonUp method. If you are in drag modus ::lDrag is true and in the if ::lDrag endif there is no sendmessage. Regards, Otto
drag drop oSay
Otto, The SAYs don't react to the mouse. Its a standard Windows behavior. You have to modify Class TSay Method HandleEvent()
drag drop oSay
Hello Antonio, I don't understand this. I thought if you inherit you have the methods of the parent object. Is this wrong? Regards, Otto
drag drop oSay
Otto, You are right. But as I have commented you, a SAY control will not receive mouse events. You can test this modifying method HandleEvent(), or consider to use another control, not a SAY.
drag drop oSay
Hello Antonio, I think it is the same with the other controls. What is the problem if I change return 0 to return Super:LButtonUp( nRow, nCol, nKeyFlags ) in the LButtonUp method. Then it is working. Do we face other problems. Regards, Otto
drag from listbox to an extern program
I have a little VB6 program which I would like to re-write in FIVEWIN.There is a listbox from where I can drag items to other extern programs like WORD for e.g. .I only have to use OLEDropMode = manual in VB6.Does someone know how to do this with FW?Thanks in advanceOtto[img:1txg3ier]http&#58;//www&#46;atzwanger-softwa...
drag from listbox to an extern program
Otto,I have a simular function in my application.What do I do ?1. I have defined a macro in Word which paste the clipboard into the document. So I have to put the cursor on the position where I want the paste to be happening.2. In my application, I doubleclick on the selected item in the listbox. In the action of the d...
drag from listbox to an extern program
Hello Michael,Thank you.But I would like a solution without macros.I don’t have good experiences with macros.Please see my response to OPEN XML, too. Regards,Otto
drag visualization
Antonio, on a form whe n I take an control I want show on cursor the control and then I move the mouse on row,col and when I release the button of the mouse it draw the control on row,col ( of the mouse) .Howe I can make it ?
drag visualization
Silvio,Please review fwh\samples\TestDrp3.prgYou can change a control position doing:oControl:nTop := ...oControl:nLeft := ...
drag visualization
Antonio, to make it easier, to place Logos or Vtitles on a defined Position inside a Dialog, is it possible, to get the Screen-Position ( Top / Left ) for a given ID-Number of a Control from Resources ? Sample : I want to place with ABpaint a Logo above a Get-Field with ID 100 ( Position Top = 100, Left = 20 ) The T...
drag visualization
Uwe, Try: [code=fw:q8ze102a]<div class="fw" id="{CB}" style="font-family: monospace;">nID := <span style="color: #000000;">100</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;">&#40;</span> oDl...
drag zone on window without title
In this application I can drag the window from everywhere on the red zone. Does someone know how to do this? Thanks in advance Otto [img:182lv5p6]http&#58;//www&#46;atzwanger&#46;com/fw/crossedout&#46;jpg[/img:182lv5p6]
drag zone on window without title
Otto, You have to use bLClicked to set a lDrag variable to .T., then use bMMoved to move the window and finally bLButtonUp to set the lDrag to .F. oWnd:bLClicked = { || lDrag := .T. } oWnd:bMMoved = { |nRow, nCol | If( lDrag, oWnd:Move( nRow, nCol ),) } oWnd:bLButtonUp = { || lDrag := .F. }
drag zone on window without title
Otto, Here you have a working sample: [code:39p8mxes] #include "FiveWin&#46;ch" function Main&#40;&#41; local oWnd, nRowPos, nColPos, lDrag &#58;= &#46;F&#46; DEFINE WINDOW oWnd STYLE WS_POPUP COLOR "W/R" oWnd&#58;bLClicked &#58;= &#123; | nRow, nCol | nRowPos &#58;= nRow, nColPos &#58;= nCol, lDrag &#58;...
drag zone on window without title
Hello Antonio, thank you for your help. Could you please have another look. I would need this for MDI windows. The ECR prints to the screen and there can be many receipts at one time. The cook can with a touch screen sort the receipts and click crossed out the meals he so far has prepared. A timer watch the director...
drag zone on window without title
Otto, > It would be nice if the zone to drag the receipts would be bigger than the title because you have to use your fingers. Please post a screenshot, thanks BTW, your proposed example fails to properly run. Please check it before posting it
drag zone on window without title
Antonio, which one do you mean? Thanks in advance Otto
drag zone on window without title
Otto, Here you have it: [code:2yvq4sdh] #include "FiveWin&#46;ch" #include "InKey&#46;ch" #include "xbrowse&#46;ch" static nTop&#58;=0 //----------------------------------------------------------------------------// function Main&#40;&#41; local oWnd, oBar DEFINE WINDOW oWnd MDI ; TITLE "Küchenmeister" ...
drag zone on window without title
Antonio, thank you very much. Now I start the finishing. Regards, Otto PS: I helped Ruth to set up a portal for our codesnips project. Ruth placed the FW logo on it. Is it OK for you?
drag zone on window without title
Otto, > PS: I helped Ruth to set up a portal for our codesnips project. Ruth placed the FW logo on it. Is it OK for you? > Yes, its fine, you are welcome <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
dragging of a button
Hello, I would like to limit dragging of a button only to vertically. Can someone please help me. Thanks in advance Otto
dragging of a button
Otto, The right way would be to redefine Methods MouseMove() and LButtonUp() of Class TControl, but in order to make it simpler you may try to use the DATAs bDrag and bPostDrag (both are codeblocks). See the parameters that they use. bDrag is evaluated when the control is moving, bPostDrag only once when the mouse b...
dragging of a button
Dear Antonio, thank you for your help. oBtn:bDrag := { | y,x,flags | oBtn:nLeft := 1000 } For testing purpose I tried the following codeblock and it seems I can achieve what I want to do. Best regards, Otto
dragging of a button
Otto, I created a little test I used a Group in design-mode to define a area It works in all directions. [img:2mfev1u0]http&#58;//www&#46;pflegeplus&#46;com/IMAGES/BMoveT&#46;jpg[/img:2mfev1u0] [img:2mfev1u0]http&#58;//www&#46;pflegeplus&#46;com/IMAGES/BMoveL&#46;jpg[/img:2mfev1u0] [img:2mfev1u0]http&#58;//www&#4...
dragging of a button
Hallo Uwe, herzlichen Dank. Kannst du bitte das gesamte Beispiel posten. Liebe Grüße Otto
dragging of a button
Otto, the Download ( 3,6 MB ) [b:2pkshve9]The button can be moved only inside the group a right mouseclick inside the dialog ( NOT group ) opens a alert with informations about button and group. Just move and resize the group around the button[/b:2pkshve9] [color=#0000FF:2pkshve9][b:2pkshve9]It works in the other di...
dragging of a button
Hallo Uwe, herzlichen Dank. Ich probiere nun deine Funktion in mein Programm einzubauen. lg Otto
dragging of a button
Otto, a little change, to move multiple buttons with different sizes In short, what You need : [b:1r96onq3][color=#BF00FF:1r96onq3]// LOCAL nNewPos[5][3] = 5 buttons // the first Button, the array = nNewPos[1] oBtn[1]:bDrag := { | x,y,flags | nNewPos[1] := BTN_MOVE(oBtn[1], x, y, oBtn[1]:nWidth, oBtn[1]:nHeight) } ...
draw a group on window
I wish draw an image over the wallImage of a window main , a roundbox , an other text Now I use this command to draw an image inton a window and write a test into a window : ::oWndMain:bPainted := {|hDC| (PalBmpDraw( hDC, 0, 0, ::oImagen:hBitmap,, ::oWndMain:nWidth, ::oWndMain:nHeight,, .T.),; ...
draw a group on window
Silvio, This is the most extrem situation : painting a text on top of a painted alphablended imgage of the main-window image. Text can be 3D or with shadow [img:35fd6lvm]http&#58;//www&#46;pflegeplus&#46;com/pictures/alpha8&#46;jpg[/img:35fd6lvm] Best Regards Uwe <!-- s:!: --><img src="{SMILIES_PATH}/icon_exclaim....
draw a group on window
Uwe, I saw a Prg of Minigui and I wish remake it on fwh ...and so I saw it can be too hard on fwh I have a Main Window maximized Nosize I have a image wall paper into this window I have a frame ( on minigui is called group ) at the right of this window it is transparent and on this group there some says on botto...
draw a line for 5 seconds
Some more tests and improvements Download : <!-- m --><a class="postlink" href="http://www.pflegeplus.com/DOWNLOADS/Drawline1.zip">http://www.pflegeplus.com/DOWNLOADS/Drawline1.zip</a><!-- m --> [img:30mclzs8]http&#58;//www&#46;pflegeplus&#46;com/IMAGES/Drawline1&#46;jpg[/img:30mclzs8] best regards Uwe <!-- s:D --><...
draw a line for 5 seconds
I must show a line on a dialog for 5 second when I press a button I try insert a timer after draw the line and refresh the dialog but it sometimes run test sample [code=fw:10ctnr79]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00D7D7;">#include</span> <span style="color: #ff000...
draw a line for 5 seconds
Silvio, have a look at <!-- l --><a class="postlink-local" href="http://forums.fivetechsupport.com/viewtopic.php?f=3&t=31628&p=184653#p184653">viewtopic.php?f=3&t=31628&p=184653#p184653</a><!-- l --> best regards Uwe <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D -->
draw a line for 5 seconds
Uwe, the idea can be good but I use the functions DRAW_BOX1(oDlg) DRAW_BOX2(oDlg) AUTODELETE(oDlg) and give me this error [code=fw:1tq5y08x]<div class="fw" id="{CB}" style="font-family: monospace;">Total memory allocated: <span style="color: #000000;">699410</span> bytes <span style="color: #000000;">&#40;</span><s...
draw a line for 5 seconds
Uwe, RUN OK BUT HERE NOT RUN
draw a line for 5 seconds
Silvio, did You RECOMPILE the original sample ? It seems inside Your App, something is missing. I don't get any error-messages. ( tested on WINDOWS10 and FWH September 2015 ) A solution of Your other problem : moving a record of a DB,F is included as well. The LINE-solution : the Height of the BOX-function is define...
draw a line for 5 seconds
Added SINGLE-line painting on ion Download : <!-- m --><a class="postlink" href="http://www.pflegeplus.com/DOWNLOADS/Drawline1.zip">http://www.pflegeplus.com/DOWNLOADS/Drawline1.zip</a><!-- m --> A mouseclick on any other control deletes the line [img:1brl4bu2]http&#58;//www&#46;pflegeplus&#46;com/IMAGES/Testline1&#...
draw a line for 5 seconds
Uwe, I can draw the line but on my app it is different because the lines must be draw from a procedure and not from user : function calc_reward(aCombinations) Local payout := 0 Local partial_payout := 0 Local nRow:= 300 Local nCol:= 35 Local oFontSAY DEFINE FONT oFontSAY NAME "MS SANS SERIF" SIZE 0,-12...
draw a line for 5 seconds
Silvio, [b:3kni2phh]please keep the syntax [/b:3kni2phh]: A defined nIndex shows a different line [b:3kni2phh]< Left, Top, Right, Bottom, Radius1, Radius2, Color, Pen >[/b:3kni2phh] <!-- s:!: --><img src="{SMILIES_PATH}/icon_exclaim.gif" alt=":!:" title="Exclamation" /><!-- s:!: --> Index = 4 and Index = 5 is N...
draw and bitmaps
if a draw an arrow can transform it to bitmap ? and give it an action ?
draw and bitmaps
You can use a TBtnBmp
draw and bitmaps
perhaps U not understand me i made an small arrow and i show it on my window now i want transform it as a bitmap as an control and i want click on it to make an action..it is possible?
draw and bitmaps
Silvio, could you post a screenshot? Regards, Otto
draw and bitmaps
i'll wish not show this but Ucan understand me. i made tabs with office 2007 style with bmps and now i see btnbmp to navigate on each tab . i tryed to modify btnbmp to office 2007 but on tabs the btnbmps are smaller and i cannot see the difference. Now i thinked to create two arrows left and right , i draw with graphi...
draw with poligon
[url=http&#58;//imageshack&#46;us:29mof9xb][img:29mof9xb]http&#58;//img247&#46;imageshack&#46;us/img247/622/slightright2wg7&#46;png[/img:29mof9xb][/url:29mof9xb] I must create this bitmap with poligon function so that it is divided in four various pieces so that I can move them with the mouse : the three bars and th...
draw with poligon
Silvio, You may check where the mouse is clicked and change the mouse cursor to a one that also paints the portion that you want to move. When the mouse is released then you check where it is and change the drawing accordingly.
draw with poligon
thanks but i not know how make it can you create a small test to work on ?
draw with poligon
Silvio, Please implement the PolyPoligon() calls to draw the different parts of your drawing first, thanks Then I will show you how to move them,
draw with poligon
i not know how make it
draw with poligon
Antonio, this is the code #include "FiveWin.ch" Function Main() Local obtn,oWnd Local oGrayBrush := CreateSolidBrush( GetSysColor(15) ) local hDC := GetDC() DEFINE WINDOW oWnd TITLE "Testing button" ; FROM 3, 3 TO 20, 80 ; COLOR CLR_BLACK, GetSysColor( COLOR_BTNFACE ) obtn:=Arrow_SX(hD...
draw with poligon
Silvio, You have to find the area where the mouse is clicked and then select a mouse cursor based on the underlying drawing
drawing on pictures
Hello Uwe, can we make a directory browsing with Fivewin search all photos and then automatically print the file name on the photo. I would like to make a simple program that allows me to personalize Bootstrap templates quickly. I attache a screenshot. [img:2mtt55n2]https&#58;//mybergland&#46;com/fwforum/printonphoto&#...
drawing on pictures
Hello, I have now a little program to print the filename + size on the template photos. This way it is easy to insert your own photos into a template. Next is to parse the text and create varables for the text. Best regards Otto [img:zlmyqhyz]https&#58;//mybergland&#46;com/fwforum/template&#46;jpg[/img:zlmyqhyz]