topic
stringlengths
1
63
text
stringlengths
1
577k
Changing font from oSay
Try this: oSay:SetFont( oNewFont ) After changing font do: oSay:SetTex( oSay:cCaption ) to check the change. It would be OK.
Changing font from oSay
Manuramos, Thank you very much , this i needed to complete to make windows resizing the controls , also with the font. You may see the result in the thread from silvio (controls ...) Frank
Changing itemlist in a combobox
Hello, I think I asked this question some years ago, but I can't it find it anymore, nore do I remember the solution that was given then. This is my question: In a window, I use a combobox. The list that is defined, need to be changed, depending on changing the data in the window. How can I change a itemlist of an ...
Changing itemlist in a combobox
Changing the Array ? [url:3jc4se7k]http://fivetechsupport.com/forums/viewtopic.php?p=253129&sid=3f9d268fcc951d1bf053930a22ed9d1e#p253129[/url:3jc4se7k]
Changing itemlist in a combobox
Driessen: Algo asi? [code=fw:iwn36vsh]<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: #00C800;">function</span> Prue_Combo<span style="color: #000000;">&#40;</span><span style="color:...
Changing the Toolbar content
I have for example a toolbar with initial button images on top and on the left I have outlook style butons. [img:1hat10ss]http&#58;//i65&#46;photobucket&#46;com/albums/h235/codemaker_bg/toolbar1&#46;jpg[/img:1hat10ss] What I need is to [b:1hat10ss]dynamicaly change[/b:1hat10ss] the set of icons on the toolbar when I ...
Changing the Toolbar content
Hello Codemaker, [b:2qhi053s]A Sample to show the Logic changing BMP's and using the same Button with different Actions:[/b:2qhi053s] 1. define a Array for the used BMP's 2. use => ACTION [color=#FF0000:2qhi053s]oButt3:SetFile( aBtn[4][1], aBtn[4][2] )[/color:2qhi053s] ; That will replace on Button-action 2 the Butto...
Changing the Toolbar content
Thank you Uwe, I apreciate your attention. I am on FW and this and old forum since the version 1.9.2 and as far as I can tell, the xHB/FWH combination is one of the best for middle sized projects. Even for bigger projects, because we can connect to SQL databases, so there is no much limitation. I use FWH all those yea...
Changing the Toolbar content
At first, Your English is fine and I understand Your Problem. Maybe a complete replacement will be a Solution. I will have a closer look at Your posted Problem. Best regards Uwe <!-- s:lol: --><img src="{SMILIES_PATH}/icon_lol.gif" alt=":lol:" title="Laughing" /><!-- s:lol: -->
Changing the Toolbar content
Boris, You can create and manage as many toolbars as needed <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> To switch from one toolbar to another is as easy as: [code=fw:2dp3ar7q]<div class="fw" id="{CB}" style="font-family: monospace;"><br />         <span style="color: ...
Changing the Toolbar content
Codemaker, done it this way: [code=fw:13fc7q9r]<div class="fw" id="{CB}" style="font-family: monospace;"><br />...<br /><span style="color: #B900B9;">// Define the maximal number of buttons and disable them</span><br />   nBtnMax  := <span style="color: #000000;">40</span><br />   <span style="color: #00C800;">FOR</s...
Changing the Toolbar content
[quote="Antonio Linares":3n4m0r8v]Boris, You can create and manage as many toolbars as needed <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> To switch from one toolbar to another is as easy as: [code=fw:3n4m0r8v]<div class="fw" id="{CB}" style="font-family: monospace;"><...
Changing the background color
[code=fw:3sv83gjq]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"FiveTouch.ch"</span><br /><br /><span style="color: #00C800;">function</span> Main<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><...
Changing the background color of a BUTTON
Hi Antonio I can't see how to do it. Is it currently possible? If not could it be added? It would really help in my application. (I want to change the background color when a button is clicked and change it back again when another one is clicked). Thanks Doug (xProgrammer)
Changing the background color of a BUTTON
Antonio I have done a little research and in GTK+2.0 it sounds like it isn't too difficult, you need something like this: [code:n43dsnm5] GdkColor color; gdk_color_parse &#40;"red", &color&#41;; gtk_widget_modify_fg &#40;widget, GTK_STATE_NORMAL, &color&#41;; [/code:n43dsnm5] The code required in earlier vers...
Changing the background color of a BUTTON
Doug, Afaik we are using GTK+ 2.0. Please try this code in Class TWindow: [code:225d38ch] METHOD SetColor&#40; cColor &#41; INLINE GtkSetColor&#40; &#58;&#58;hWnd, cColor &#41; #pragma BEGINDUMP #include <hbapi&#46;h> #include <gtk/gtk&#46;h> HB_FUNC&#40; GTKSETCOLOR &#41; &#123; GdkColor color; gdk_color_p...
Changing the background color of a BUTTON
Hi Antonio Thanks. I will try that. I take it that I will have to compile the code in the modified window.prg and what else? Am I producing a new library? or object code to be linked? or what? Sorry for the (probably) naive questions but I haven't had to do that sort of thing before. Thanks Doug
Changing the background color of a BUTTON
Doug, You have to modify window.prg and then compile it and link it as another PRG of your application
Changing the background color of a BUTTON
Hi Antonio I did that and got the following error in the terminal window from whioch I launched my application: (<unknown>:30895) Pango-CRITICAL **: pango-color-parse: assertion 'spec != NULL' failed Seems like a parameter passing problem? The call in my code was: [code:35c8n9kd] btnSelect&#58;SetColor&#40;"red...
Changing the background color of a BUTTON
Hi Antonio Progress! I changed [code:32febzkz]gtk_widget_modify_fg [/code:32febzkz] to [code:32febzkz]gtk_widget_modify_bg[/code:32febzkz] And we have a red button (background) in the normal state. So we are very close. Now we have to work out: Why hb_parc(1) doesn't seem to be getting the value "red". List ...
Changing the background color of a BUTTON
States are as follows: enum GtkStateType [code:1pldv652]typedef enum &#123; GTK_STATE_NORMAL, GTK_STATE_ACTIVE, GTK_STATE_PRELIGHT, GTK_STATE_SELECTED, GTK_STATE_INSENSITIVE &#125; GtkStateType;[/code:1pldv652] This type indicates the current state of a widget; the state determines how the widget is draw...
Changing the background color of a BUTTON
Hi Antonio I should have worked it out before - the problem with your original code is that where you have hb_parc( 1 ) it should in fact he hb_parc( 2). Now parameter passing appears fine. Now the function needs to be made more utilitarian - ie change any of the colors (bg, fg, text, base) for any state. State can...
Changing the background color of a BUTTON
Doug, There was a bug in my code. This is the right one: [code:3s6zpmnq] METHOD SetColor&#40; cColor &#41; INLINE GtkSetColor&#40; &#58;&#58;hWnd, cColor &#41; #pragma BEGINDUMP #include <hbapi&#46;h> #include <gtk/gtk&#46;h> HB_FUNC&#40; GTKSETCOLOR &#41; &#123; GdkColor color; gdk_color_parse&#40; h...
Changing the background color of a BUTTON
Hi Antonio This version allows you to pass in the state to apply the color to as a second parameter: [code:1o5s0962]METHOD SetColor&#40; cColor, iState &#41; INLINE GtkSetColor&#40; &#58;&#58;hWnd, cColor, iState &#41; #pragma BEGINDUMP #include <hbapi&#46;h> #include <gtk/gtk&#46;h> HB_FUNC&#40; GTKSETCOLOR &#41...
Changing the background color of a BUTTON
Correction to above - defines should be: [code:yrpen0z5]#define GTK_NORMAL 0 #define GTK_ACTIVE 1 #define GTK_PRELIGHT 2 #define GTK_SELECTED 3 #define GTK_INSENSITIVE 4[/code:yrpen0z5]
Changing the background color of a BUTTON
Doug, I think we should implement it this way: METHOD SetColor( cForeColor, cBackColor [, nState] )
Changing the background color of a BUTTON
Hi Antonio I certainly want to manipulate text-color as well (So that if a GET is set to WHEN .F. it isn't in that dull gray which some users find hard to read). That would only leave base-color which means perhaps we should consider doing all four. Maybe we could have: [code:pdvyejvk] METHOD SetColor&#40; cForeColo...
Changing the background color of a BUTTON
For anyone following this who wants to know what colors can be created this way the list is available in text form at <!-- m --><a class="postlink" href="http://www-swiss.ai.mit.edu/~jaffer/Color/rgb.txt">http://www-swiss.ai.mit.edu/~jaffer/Color/rgb.txt</a><!-- m --> or to see the colors go to <!-- m --><a class="p...
Changing the bitmap in the bookmark
Hi, In the TFolderEx bookmarks, I need, depending on the situation, to change the bitmap (from the resource) . How can this be done ?
Changing the bitmap in the bookmark
Maybe, [code=fw:1y4bxsah]<div class="fw" id="{CB}" style="font-family: monospace;"><br />&nbsp; &nbsp;<span style="color: #0000ff;">BITMAPS</span> IIF<span style="color: #000000;">&#40;</span> lCondition, <span style="color: #ff0000;">"Bitmap01"</span>, <span style="color: #ff0000;">"BitMap02"</span> <span style="colo...
Changing the bitmap in the bookmark
Not suitable. I need to interactively change pictures in bookmarks. I tried the methods SetBitmap and SetBrightBMP, but it didn't work out <!-- s:( --><img src="{SMILIES_PATH}/icon_sad.gif" alt=":(" title="Sad" /><!-- s:( -->
Changing the bitmap in the bookmark
[quote="Natter":1x8vxryh]Not suitable. I need to interactively change pictures in bookmarks. I tried the methods SetBitmap and SetBrightBMP, but it didn't work out <!-- s:( --><img src="{SMILIES_PATH}/icon_sad.gif" alt=":(" title="Sad" /><!-- s:( -->[/quote:1x8vxryh] Sorry, this not run ok ? [code=fw:1x8vxryh]<div cla...
Changing the bitmap in the bookmark
If I run the method: SetBitmap ("modif", oFld:nOption), then the bookmark simply becomes empty
Changing the bitmap in the bookmark
[quote="Natter":3v87mpgk]If I run the method: SetBitmap ("modif", oFld:nOption), then the bookmark simply becomes empty[/quote:3v87mpgk] Resource "modif" exist in your file .RC or .RES ?
Changing the bitmap in the bookmark
I didn't understand the question. First, the resources are registered in .RC, after compilation we get .RES When installing TFolderEx, everything is fine - bookmarks with text and pictures.
Changing the bitmap in the bookmark
Look at this, see if it helps: [url:3uxou6ov]https&#58;//fivetechsupport&#46;com/forums/viewtopic&#46;php?f=3&t=32718&start=0[/url:3uxou6ov] [url:3uxou6ov]http&#58;//fivewin&#46;com&#46;br/index&#46;php?/topic/27181-gradient-nos-bot%C3%B5es-e-na-buttonbar/[/url:3uxou6ov] [url:3uxou6ov]https&#58;//forums&#46;fivetech...
Changing the domain of images- and download-links
Hello, I have a special question about my images- and download-links inside the forum. Everything belongs to my website < PFLEGEPLUS.COM > I created 20 years ago. Now a company asked me if I would like to sell this name because < PFLEGE > is a area of business and < PLUS > means < + > Is it possiblel to make a global...
Changing the domain of images- and download-links
Dear Uwe, Yes, whats the new name that you want to use ?
Changing the edit picture on the same col (xbrowse)
Hi all, another xbrowse issue. I have an array with the second element (aarray[x,2]) numeric editable. I would like to use the picture "99.9" for the value on the first row and "99.99" for the value on the second row. Any suggest how can I make this ? Thanks in adance This self-contained sample show my problem. fu...
Changing the edit picture on the same col (xbrowse)
Please try this revised sample [code=fw:1s3fosz9]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"FiveWin.ch"</span><br /><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"xbrowse.ch"</span><br /><br /><span...
Changing the edit picture on the same col (xbrowse)
Hi, the numeric cells are diplayed well but I need to make the same with the edit picture also. Something like this: oBrw:aCols[2]:bEditPicture := ; { || cValToStr( oBrw:aRow[2], If( oBrw:nArrayAt == 1, ; '999.9', '999.99' ) ) } But the bEditPicture doesn't exist. Is there a codeblock that can we use to ma...
Changing the edit picture on the same col (xbrowse)
I am sorry. I made a mistake in copying the code. I now edited it. We can change the edit picture through bChange here is the right code [code=fw:1f9ulxew]<div class="fw" id="{CB}" style="font-family: monospace;">oBrw:<span style="color: #000000;">bChange</span> := <span style="color: #000000;">&#123;</span> | oBrw | o...
Changing the edit picture on the same col (xbrowse)
It runs fine. Thank you very much for your support.
Changing the place of ""comp.log"" file in scripts.
I am usings execute command to run the scripts as below. When I run my program a file named comp.log is created in the current directory. Is it possible to change it. I want it to be created in another directory (for example in my documents folder) Thanks in advance. [code=fw:1ojgyvzo]<div class="fw" id="{CB}" style="...
Changing the place of ""comp.log"" file in scripts.
Birol, In FWH\source\function\harbour.prg in function Execute() please comment out this line: // FReOpen_Stderr ( "comp.log", "w" ) and modify this one: oHrb = HB_CompileFromBuf( cCode, [b:1gojh2gf].T.[/b:1gojh2gf], "-n", "-I" + cFWheaders, "-I" + cHBheaders ) these fixes will be included in the next FWH version
Changing the place of ""comp.log"" file in scripts.
Thanks master. It has gone. Not created in the current directory. But where is it now? It will not be created? Or it has gone to somewhere else?
Changing the place of ""comp.log"" file in scripts.
It will not be created In case that there is an error, a runtime error will be generated
Changing the tTitle text at runtime
Any ideas ? I tried with oTitle:SetText("New text") without success. Thanks in advance.
Changing the tTitle text at runtime
Hi Marco, Can you try it oTitle:aText[3] := "New Text"
Changing the tTitle text at runtime
Marco, in File : \samples\testtitl.prg change / add these lines for a Test : [color=#FF0000:3rnzb241]Local oText1[/color:3rnzb241] ... ... // Title 1 Horizontal ( top ) @ 015,150 TITLE oTitle1 size 460, 60 of oWnd SHADOW TOPRIGHT oTitle1:aGrdBack = { { 1, nRGB( 129, 130, 138 ), nRGB( 59, 60, 62 ) } } oTitle1:nShado...
Changing the tTitle text at runtime
Hi Uwe, your last sample runs well but is there a solution to change the text directly from oTitle1 ?
Changing the tTitle text at runtime
Marco, it works the same, also from inside the same Title LOCAL oText1, [color=#FF0000:3pnoi593]oText2[/color:3pnoi593] //Title 5 Horizontal( Down ) @ 480, 150 TITLE oTitle5 size 460, 60 of oWnd SHADOW BOTTOMLEFT SHADOWSIZE 2 @ 5, 10 TITLEIMG OF oTitle5 BITMAP "../bitmaps\32X32\keys.bmp" SIZE 30, 30 REFLEX TR...
Changing the tTitle text at runtime
I mean something like oTitle1:xcontrol:settext("new text").
Changing the tTitle text at runtime
Hello Marco, You don't need to define the Title, only the Textobject. This button ( on Mainwindow ) changes the Text defined in Title 1. // Style 2007 // ------------- @ 580, 300 BTNBMP oBtn1 OF oWnd ; SIZE 200, 80 ; PROMPT "&Change Text" 2007 ; FONT oFont2 CENTER ; ACTION oText1:SetText("FIVEWIN ...
Changing the tTitle text at runtime
I know. The problem is that I manage all my app windows thorough a routine that return me only the object related to the tTitle object, not the tTitleText of tTitle object. It is for this reason that I can't use directly the tTitletext object and I need to find a solution through the tTitle object.
Changing the textcolor of RADIOS and CHECKB. at runtime ?
Hello, I wanted to change the textcolor of RADIOS and CHECKBOXES at runtime. It only works on SAY [color=#0000FF:lowxjvo8]FUNCTION OBJ_UPDATE( oFld2, nTextColor, nBackColor ) // FOLDER AEval( oFld2:aDialogs[ 2 ]:aControls, { |o| IF( o:ClassName == "TSAY", o:SetColor( nTextColor, nBackColor ), NIL ), ; // works !!! ...
Changing the textcolor of RADIOS and CHECKB. at runtime ?
Uwe I use a separate field for check boxes and radio buttons .. just shorten the text to show control and create a text box to go along side .. that way ON CHANGE I can modify the text. May not be very elegant, but it works. Rick Lipkin
Changing the textcolor of RADIOS and CHECKB. at runtime ?
Rick, I got it working changing the colors of [color=#0000FF:1y84wvgm]RADIOS and CHECKBOXES [/color:1y84wvgm]as well with these changes : // --------------- FUNCTION OBJ_UPDATE( oFld2, nTextColor, nBackColor ) // ---FOLDER --- AEval( oFld2:aDialogs[ 2 ]:aControls, { |o| IF( o:ClassName == "TSAY", ( o:SetColor( nTe...
Changing with and height of a window and a dialog
Hi. I'm making some tests on the Acer Iconia tablet. If I display a window and a dialog when the tablet if in landscape mode everything is perfect. But when I rotate it I want to change the width and height according to the new size of the display area . Is it possible to make it ? I've tried on the PAINT event but i...
Changing with and height of a window and a dialog
Massimo, You can do: oWnd:nWidth = ... oWnd:nHeight = ... same for oDlg or any oControl
Changing with and height of a window and a dialog
Hi Antonio. My problem is to recognize the rotating of the device. The original window is 1280 X 800 and when you rotate the Iconia the window will be 800 X 1200. Is it possible to know when the device is changing the orientation ? Thanks a lot. Massimo.
Changing with and height of a window and a dialog
Massimo. Please run this test in your tablet and review events.log to find what msgs you get when you rotate the screen: [code=fw:1ei5quu5]<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="co...
Changing with and height of a window and a dialog
Hi Antonio. This is the events.log 06/05/11 06:23:21: 49 0 0 06/05/11 06:23:21: 24 1 0 06/05/11 06:23:21: 70 0 1244328 06/05/11 06:23:21: 70 0 1244328 06/05/11 06:23:21: 28 1 5300 06/05/11 06:23:21: 134 1 0 06/05/11 06:23:21: 13 520 1240680 06/05/11 06:23:21: 127 2 0 06/05/11 06:23:21: 127 0 0 06/05/11 06:23:...
Changing with and height of a window and a dialog
Massimo, Please rotate the tablet 10 times and then copy here the events.log again, thanks <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
Changing with and height of a window and a dialog
Here it is. I have another question. When I display a dialog from a resource, is it possible to close this dialog and display another one when the tablet is rotated ? I want to try to make different dialogs according to the resized display area. Thanks a lot. Massimo. 06/05/11 08:21:16: 49 0 0 06/05/11 08:21:16: 24 1...
Changing with and height of a window and a dialog
Massimo, Yes, once we know which one is the rotate event then we can do what we want <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
Changing with and height of a window and a dialog
Great. Is there a reference table about the numbers that the logfile function is creating ? I saw that there are always 3 numbers after the time but I don't know what they mean.
Changing with and height of a window and a dialog
Massimo, The first value is the Windows msg sent to the window, the other two values are the supplied parameters (nWParam, nLParam). The msg value has to be converted into hexadecimal and then you can look for it inside windows.h I think that 49713 value may be related to the rotate event. Please try this: [code=fw:4...
Changing with and height of a window and a dialog
Yes, it is working. Now I have to find a way of changing the resolution of the open window and dialog with all the controls inside. Thanks a lot. Massimo.
Changing with and height of a window and a dialog
I found that the Rotate event is 126 I modified dialog.prg so I could do the following in my program. oDlg:bRotate := { || msginfo( 'Rotate '+alltrim(str(ScreenWidth(),5))+'x'+alltrim(str(ScreenHeight(),5)))} With windows 7 the width and height vary with rotation and whether the on screen keyboard is displayed and dock...
Changing with and height of a window and a dialog
Actually there is an event define WM_DISPLAYCHANGE = 126 I found the information here: [url:2k6n76qz]https&#58;//msdn&#46;microsoft&#46;com/en-us/library/ms812142&#46;aspx[/url:2k6n76qz]
Changing with and height of a window and a dialog
Gale, Thanks! <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
Changing with and height of a window and a dialog
Antonio, Does the latest version of FW handle screen rotation? If not do you think something like ::bRotate or ::bOnRotate can be added to native Window class. I am working more and more with Tablets and Convertibles.
Changing with and height of a window and a dialog
Gale, As a first idea I think that we could use FWH functions ScreenWidth() and ScreenHeight() and a timer to control rotation. I am thinking how to avoid the use of the timer...
Changing with and height of a window and a dialog
Gale, Could you try this example and rotate the tablet ? Please let me know if it beeps when you rotate it, thanks [code=fw:3nxhtysb]<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:...
Changing with and height of a window and a dialog
i will try it later. just thinking about it, if you want to try it without adding to handleevent then it might be better on paint. i am not sure the dialog/window size changes unless keyboard is visible and sometimes not even then. Windows 7 keyboard undocked does not resize dialog or screen.
Changing with and height of a window and a dialog
Gale, Then you may change in my example: oWnd:bPainted = { || MsgBeep() } thanks
Changing with and height of a window and a dialog
bPainted does get called when you rotate display. bResized does not get called. I cannot get accurate screen sizes when I use bPainted. screenwidth() and screenheight() are not always correct. Maybe it has something to do with buffer/dispbegin(). One of the things I need to do when screen is rotated is change the dialo...
Changing with and height of a window and a dialog
We know we can easily ascertain Protrait / Landscape mode by comparing ScreenWidth() and ScreenHeight(). If the application window is maximized on Tablet, rotation restults in Resize event and our normal ON RESIZE can react to the change. Whether the window is maximized or not, rotation defintely generates WM_DISPLAYCH...
Changing with and height of a window and a dialog
Is the function IsTabletMode() in later vesrion of FWH?
Changing with and height of a window and a dialog
[quote="Gale FORd":21xtto1b]Is the function IsTabletMode() in later vesrion of FWH?[/quote:21xtto1b] Yes. This is the source code: [code=fw:21xtto1b]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">function</span> IsTabletMode<span style="color: #000000;">&#40;</span><span style="...
Changing with and height of a window and a dialog
Thank you for your help. I still have some small issue. One of the reasons I need this is to change the dialog size and re-position some controls. Without a timer in bOnDisplayChange the ScreenWidth() and ScreenHeight() are not always correct if the on-screen keyboard is displayed. If the on-screen keyboard is not disp...
Changing with and height of a window and a dialog
Here is another issue. With Windows 10 the On Screen Keyboard does not adjust screenheight(). So it makes no difference if the keyboard is visible or not. You have to know whether the on screen keyboard is visible in order to make a correct window size. The only way I have found to check it is to use IsWindowEnabled()....
Changing with and height of a window and a dialog
The previous post works correctly if the on screen keyboard is docked. Some adjustments may need to be made if keyboard is not docked. Windows 7 looks like it works ok as is. We would need to find out if keyboard docked on Windows 10 and 8.
Changing with and height of a window and a dialog
Gale If it's any help <!-- l --><a class="postlink-local" href="http://forums.fivetechsupport.com/viewtopic.php?f=3&t=25706&p=176030&hilit=keyboard#p175935">viewtopic.php?f=3&t=25706&p=176030&hilit=keyboard#p175935</a><!-- l -->
Changing with and height of a window and a dialog
Thanks for your input but we are way past that. We are talking about tablets when they rotate, not just starting the keyboard.
Changing with and height of a window and a dialog
If our window/dialog is is in maximized mode, when the tablet is rotated, the window is automatically resized to fit the new orientation. We do not need to recalculate the dimensions of the window. I personally prefer to keep our program code to the minimum and depend more on the system. Should we resize our window wh...
Changing with and height of a window and a dialog
even if the dialog is maximized screenheight() still has to be calculated to find the control positions so they are visible with on screen keyboard. Then you have popup dialog boxes that are not maximized. The problem of on screen keyboard and screen size will always be important.
Changing with and height of a window and a dialog
[quote:1w56ut4m]screenheight() still has to be calculated to find the control positions so they are visible with on screen keyboard.[/quote:1w56ut4m] I suggest using ClientRect of the window instead of screenheight()
Changing with and height of a window and a dialog
with windows 10 the screenheight does not account for keyboard. so the window does not resize automatically. That has been one of the reasons for this whole exercise.Some of my controls will be hidden behind keyboard when screen is rotated. I have to figure out what the visible screen dimensions are!!
Changing with and height of a window and a dialog
I might have misunderstood your comment. Once the dialog size and position has been determined then we can use coordinates of window. I also have to rethink using any of the msg*() functions or any dialog that is centered. Without modification they will not always work right on Windows 10 when on screen keyboard visibl...
Changing with and height of a window and a dialog
Gale, My core strategy in tablet programming with fwh: - To use dialog controls on ScrollPanel class. - When control get obtain focus, automatically open osk. Close osk on lost focus. - When open osk then scrolling Panel until osk top- 1 Regards.
Changing with and height of a window and a dialog
That sounds good and I am glad you have it working for you. Scrolling dialog is good and I had tried to implement that. There were several issues using that alone. #1 was the placement of navigation buttons like next, previous, print, cancel, etc. With Windows 8 and 10 if you put them on the bottom of the dialog then t...
Changing with and height of a window and a dialog
Gale, [quote:vig2sxvd] #1 was the placement of navigation buttons like next, previous, print, cancel, etc. With Windows 8 and 10 if you put them on the bottom of the dialog then they could get covered up with on screen keyboard.[/quote:vig2sxvd] 1st. buttons on top screen. 2nd. only running on windows 8 (tabtip osk)...
Changing xBrowse data source and fields at runtime
To All I am attempting to re-use an xBrowse already defined with an Ado data source and fields assigned to resource ID and browser object. I want to be able to re-use the same xBrowse and assign it a new data source and fields re-using the same resource id and xBrowse object at run-time. To further clarify .. I want ...
Changing xBrowse data source and fields at runtime
Rick: Maybe this sample code will be of some help. Here, I used ComboBox instead of Radio-buttons. [code=fw:3iqndgxi]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #B900B9;">//---------------------------------// </span><br /><span style="color: #00C800;">Function</span> FapSoftScan...
Changing xBrowse data source and fields at runtime
Francisco Great LDAP query !! I understand what you are doing logically .. I don't know if I am going to run into any problems since my xBrowse is tied to a resource ID .. I am thinking I may have difficulty re-initializing the browse since I am using a recordset vs an array <!-- s:( --><img src="{SMILIES_PATH}/icon_...
Chapecoense Campeón/Campeão
[img:26ttypjf]http&#58;//i&#46;imgur&#46;com/LEZQsWK&#46;jpg[/img:26ttypjf] <!-- s:cry: --><img src="{SMILIES_PATH}/icon_cry.gif" alt=":cry:" title="Crying or Very sad" /><!-- s:cry: --> <!-- s:cry: --><img src="{SMILIES_PATH}/icon_cry.gif" alt=":cry:" title="Crying or Very sad" /><!-- s:cry: --> <!-- s:cry: --><...
Chapecoense Campeón/Campeão
Força CHAPECOENSE ! Goian bego ! Para nosotros "Carpe diem" ... [url:1jh0dvvq]https&#58;//www&#46;youtube&#46;com/watch?v=70ehPdHkEiQ[/url:1jh0dvvq]
Char string size limit still 64k?
I had previously understood that in 32 bits we don't have the 64k size limit for a char string that we had in 16 bits. However, I saw in the xHarbour documentation for Memoread() that there still is a 64k size limit for a char string in xHarbour.How about FWH - do we still have a 64k limit for a char string?- Roger