Search found 194 matches
- Fri Jul 26, 2024 11:24 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: strange behavior on double clicking to msgbar
- Replies: 2
- Views: 389
- Sun Jul 02, 2023 6:29 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: FiveWin on Apple/Mac works great
- Replies: 10
- Views: 1173
Re: FiveWin on Apple/Mac works great
I won't be able to start until August, but at that time I will being working nearly entirely on development for both MacOS as well as Linux. I already do both, but not with any kind of regularity to this point. I look forward to the discussions that will bring.
- Tue Aug 16, 2022 7:28 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic:
- Replies: -1
- Views:
Re: "Text" Date/Time to "Number" ?
Thanks Rao. The secs() function in harbour actually gets mapped to hb_sec() in dateshb.c, which took me a few minutes to find. But I see a bunch of potentially useful functions there now that I'm going to test to see if I can get rid of the code I'm currently using and revert to native harbour.
Robb
Robb
- Tue Aug 16, 2022 3:56 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic:
- Replies: -1
- Views:
Re: "Text" Date/Time to "Number" ?
Not sure this is useful to anybody to me, but this is how I convert back and forth from harbour datetime to ISO datetime.
// -------------------------------------------------------------------------- //// DateTimeToISO8601( t )FUNCTION hb_TToI( t ) hb_Default( @t, DateTime() ...
// -------------------------------------------------------------------------- //// DateTimeToISO8601( t )FUNCTION hb_TToI( t ) hb_Default( @t, DateTime() ...
- Sat Jun 25, 2022 3:53 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic:
- Replies: -1
- Views:
Re: Harbour warnings
You are correct, I missed the fact of the comma.
- Sat Jun 25, 2022 3:35 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic:
- Replies: -1
- Views:
Re: Harbour warnings
What Antonio suggests here actually works:
ACTIVATE DIALOG oDlg; ON INIT ( Self := Self, MSGINFO() ) ; CENTER
But this does not, primarily because hb_symbol_unused() is defined in fivewin.ch after "dialog.ch" is included in fivewin.ch
ACTIVATE DIALOG oDlg; ON INIT ( hb ...
ACTIVATE DIALOG oDlg; ON INIT ( Self := Self, MSGINFO() ) ; CENTER
But this does not, primarily because hb_symbol_unused() is defined in fivewin.ch after "dialog.ch" is included in fivewin.ch
ACTIVATE DIALOG oDlg; ON INIT ( hb ...
- Fri Jun 24, 2022 7:53 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic:
- Replies: -1
- Views:
Re: Harbour warnings
Yes, unfortunately. I know inserting this throughout any code base could be a hassle but, yes, this is exactly what I have done. If I cant' fix something just via code (always my preference) I may hide the error using an HB_SYMBOL_UNUSED() call at the end of a func/proc and only use the pragma as a ...
- Fri Jun 24, 2022 6:01 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic:
- Replies: -1
- Views:
Re: Harbour warnings
I don't think I understand. This is the sample you provided when you started this thread, with the addition as I use it to ignore this specific warning. If not this code, what code are you talking about?
#include "Fivewin.ch"FUNCTION MAIN() LOCAL oDlg DEFINE DIALOG oDlg#pragma WARNINGLEVEL ...
#include "Fivewin.ch"FUNCTION MAIN() LOCAL oDlg DEFINE DIALOG oDlg#pragma WARNINGLEVEL ...
- Fri Jun 24, 2022 5:28 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic:
- Replies: -1
- Views:
Re: Harbour warnings
I've been doing this. I'm not sure it is completely perfect as it appears (to me) that once set to level 1 this way the reset back to level 3 doesn't always seem to work.
Code: Select all | Expand
#pragma WARNINGLEVEL = 1
// Warning generating code...
#pragma WARNINGLEVEL = 3
- Sat May 14, 2022 6:59 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic:
- Replies: -1
- Views:
Re: Message Bar Changing Title Bar
Thank you, that did it. I had the :lCheckRes value set, it was the :lInfoRes value I was missing.
- Fri May 13, 2022 9:24 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic:
- Replies: -1
- Views:
Message Bar Changing Title Bar
If I add a message bar to a program, then double click on the message bar, the default behaviour is to change the window title from the original title to a title that show memory and resources used. How do I disable this behavior?
Robb
Robb
- Fri May 13, 2022 9:19 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic:
- Replies: -1
- Views:
Re: How many time my application is run in memory
(Get-Process | Where-Object {$_.Name -eq 'YourApp'}).count
- Fri May 13, 2022 9:18 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic:
- Replies: -1
- Views:
Re: How many time my application is run in memory
And I just realized I may have misinterpreted the question. Are you asking how many instances of your application are in memory? (and not how long it's been running as I commented about.)
This can also still be done easily with powershell, though I'd need to look that up.
This can also still be done easily with powershell, though I'd need to look that up.
- Fri May 13, 2022 9:10 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic:
- Replies: -1
- Views:
Re: How many time my application is run in memory
Do you mean how long one of your programs has been running?
From powershell:
New-TimeSpan -Start (get-process <yourapplication>).StartTime
Internal to the program? I would just set a variable with DateTime() on entry, then diff that with current DateTime() to get total runtime of the app.
From powershell:
New-TimeSpan -Start (get-process <yourapplication>).StartTime
Internal to the program? I would just set a variable with DateTime() on entry, then diff that with current DateTime() to get total runtime of the app.
- Fri Apr 29, 2022 1:39 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic:
- Replies: -1
- Views:
Re: BOA for harbour ?
Thanks Antonio. This is exactly how I use the hbhttpd contribution, for my purpose I've long had no need to use apache, just this contrib. Nearly 100% of the time all I implement is a REST interface in front of the various queries my apps need, then just do the REST calls from my FWH apps. I'll be ...