Marc,
I suggest going here and reading about the hb_StrReplace() function. Much more flexible than StrTran.
https://github.com/Petewg/harbour-core/wiki/hb_S
Search found 165 matches
- Tue Jan 28, 2020 5:01 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: STRTRAN case
- Replies: 11
- Views: 6886
- Wed May 29, 2019 9:46 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: how to create a webservice?
- Replies: 1
- Views: 2862
Re: how to create a webservice?
Perhaps this will help. Not my work, I just remember this being shared on this forum previously.
http://forums.fivetechsupport.com/viewt ... 0&p=209552
Robb
http://forums.fivetechsupport.com/viewt ... 0&p=209552
Robb
- Wed May 01, 2019 1:14 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: stucture of SQL table
- Replies: 2
- Views: 3073
Re: stucture of SQL table
In SQL it is referred to as DDL.
https://stackoverflow.com/questions/659 ... e-in-mysql
show create table <database name>.<table name>;
Robb
https://stackoverflow.com/questions/659 ... e-in-mysql
show create table <database name>.<table name>;
Robb
- Sun Apr 28, 2019 8:32 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Ribbon Theme
- Replies: 153
- Views: 2950775
Re: Ribbon Theme
I just tried that, it actually moves the problem back to where I started before making the suggested change to attach to oRb instead of oWnd. It paints incorrectly and nothing is clickable whether using oRb or oWnd. Here is the sample code you provided, edited to show the situation. It adds MDI to t...
- Sun Apr 28, 2019 6:15 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Ribbon Theme
- Replies: 153
- Views: 2950775
Re: Ribbon Theme
Thanks again. I'm going to edit the sample that was provided here to better illustrate the last painting problem. No matter what I change I can't get the top of the ribbon bar, starting with the tabs but also the ribbon bar background itself, to start painting below the button bar, the ribbon bar se...
- Sun Apr 28, 2019 4:56 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Ribbon Theme
- Replies: 153
- Views: 2950775
Re: Ribbon Theme
Thank you so much. Making the button bar a child or the ribbon bar fixes most of the painting problems, and all of the clicking behavior problems. And setting the top margin to a larger value does push the top of the ribbon bar tabs down so that the tabs should be visible, but the groups and the but...
- Sun Apr 28, 2019 2:34 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Ribbon Theme
- Replies: 153
- Views: 2950775
Re: Ribbon Theme
Antonio, In the last example given for setting up a ribbon bar, it compiles and runs correctly. However, I typically use a small button bar above the ribbon bar, but when I add the following to the BuildRibbon function, immediately after the local declarations, the layout is no longer correct, appar...
- Tue Apr 23, 2019 2:38 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: BUTTON BAR is NOT Compiled when Harbour Warning Level w2
- Replies: 2
- Views: 2998
Re: BUTTON BAR is NOT Compiled when Harbour Warning Level w2
I compile using -w3, which causes this problem with some FWH code. I work around it by preceding and following the problematic code with: #pragma WARNINGLEVEL = 1 DEFINE BUTTONBAR OF oApp:oWnd STYLEBAR SIZE 70, 70 DEFINE BUTTON OF oApp:oWnd:oBar PROMPT FWString( "Exit" ) RESOURCE "exi...
- Wed Apr 17, 2019 9:00 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: add one method
- Replies: 3
- Views: 4651
Re: add one method
Search in the FWH spanish forum, there are a number of examples to find there.
- Wed Apr 17, 2019 2:10 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: add one method
- Replies: 3
- Views: 4651
Re: add one method
EXTEND CLASS <ClassName> WITH [MESSAGE <MessageName>] METHOD <FunctionName>
EXTEND CLASS <ClassName> WITH MESSAGE <MessageName> INLINE <expression>
EXTEND CLASS <ClassName> WITH DATA <MemberName> [PERSISTENT]
EXTEND CLASS <ClassName> WITH MESSAGE <MessageName> INLINE <expression>
EXTEND CLASS <ClassName> WITH DATA <MemberName> [PERSISTENT]
- Wed Apr 17, 2019 2:02 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: Cut out an area of the screen
- Replies: 15
- Views: 5717
Re: Cut out an area of the screen
Do you mean taking the screen shot of an screen area within a FWH application itself, or just within a windows desktop in general? If the latter from Windows 7 on Windows has included a utility named Snipping Tool that works reasonably well. It has existed in Windows 10 for a while but it looks like...
- Sun Mar 31, 2019 12:07 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: Wallpaper as background in a window
- Replies: 3
- Views: 4177
Re: Wallpaper as background in a window
To be a bit more clear, I can use the wallpaper as the background, it is the scaling part that I don't know how to do.
- Sun Mar 31, 2019 12:06 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: Wallpaper as background in a window
- Replies: 3
- Views: 4177
Wallpaper as background in a window
I have been using small graphics via drawtiled() for some time, it works great. But now I have a wallpaper size file that I need to automatically scale to the size of the window, scale to fit basically, not tiled. I don't see how to this, and anybody point me in the right direction.
Thanks.
Robb
Thanks.
Robb
- Wed Mar 20, 2019 3:26 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: Using WNetGetConnection()
- Replies: 3
- Views: 3332
Re: Using WNetGetConnection()
Try adding mpr.lib to your linker batch file.
- Sat Feb 16, 2019 1:13 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: Problem with TrayIcon
- Replies: 5
- Views: 4067
Re: Problem with TrayIcon
I see this behavior all the time with Windows 10, things like mail showing an icon for new mail, but then not clearing after reading without mousing over the icon. And also left behind in the same way when closing an application, close the app and the icon stays visible until a mouse over. MalwareBy...