Search found 25 matches: substituting

Searched query: substituting

by nageswaragunupudi
Mon Dec 11, 2023 7:44 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Inserting a string with CRLF into a single-line TGet.
Replies: 10
Views: 1774

Re: Inserting a string with CRLF into a single-line TGet.

... in the Get buffer. While doing so the Windows OS truncates the string from CRLF onwards.

How and when do you apply to what text your logic of substituting CRLF or TAB ?
So, no point giving program to replace CRLF.
Give a program where if I copy whatever text which includes CRLF and paste in the Get ...
by TimStone
Tue Nov 08, 2022 6:01 pm
Forum: FiveWin for Harbour/xHarbour
Topic: SMS Text messaging
Replies: 3
Views: 3376

Re: SMS Text messaging

... a couple of other changes specific to my implementation.

5). I modified the Send() Method to accept the text and phone number to be used in sending the SMS.

I would suggest setting up the account, then testing with Reinaldo's code, substituting in your own account info, then modifying it in steps.
by nageswaragunupudi
Sun Apr 10, 2022 6:21 pm
Forum: FiveWin para Harbour/xHarbour
Topic: Error en xbrowse al intentar hacer zoom
Replies: 5
Views: 666

Re: Error en xbrowse al intentar hacer zoom

... by keeping :lFitGridHeight := .F.

Please see
http://forums.fivetechsupport.com/viewtopic.php?f=3&t=41583

You can also modify xbrowse.prg by substituting the existing method CheckSize() with this new method:
METHOD CheckSize()  CLASS TXBrowse   local aRect   local ...
by nageswaragunupudi
Fri Nov 03, 2017 3:48 am
Forum: FiveWin for Harbour/xHarbour
Topic: [OT] New post at Harbour Magazine
Replies: 7
Views: 1643

Re: [OT] New post at Harbour Magazine

FWH provides all the classes needed. TDatabase, Record class, etc. FWH classes are optimized to work with other FWH classes and browses. I feel we get the best results if we use FWH native classes instead of substituting them with 3rd party utilities.
by marzio
Wed Mar 15, 2017 5:37 pm
Forum: FiveWin for Harbour/xHarbour
Topic: problem of bLClicked in ribbon 'ADD BUTTON'
Replies: 6
Views: 1584

Re: problem of bLClicked in ribbon 'ADD BUTTON'

i have resolved for 'ADD BUTTON' of 'RIBBONBAR'
substituting
oBtnAiuto:bLClicked
with
oBtnAiuto:bLButtonUp

now the code below works fine:

#include "FiveWin.ch" #include "Ribbon.ch" FUNCTION Main() LOCAL oWnd, oCursor, oRBar, oGr, oBtn DEFINE WINDOW oWnd FROM 0, 0 TO 100, 100 PIXEL DEFINE ...
by marzio
Wed May 11, 2016 7:56 am
Forum: FiveWin for Harbour/xHarbour
Topic: problems creating UNICODE directories
Replies: 13
Views: 3151

Re: problems creating UNICODE directories

i have resolved substituting Harbour 3.0 with Harbour 3.2
Now the creation of the directories with unicode characters works fine!!
(hb3.2, fwh1507, bcc7)
thanks.
by TimStone
Wed Jan 20, 2016 1:11 am
Forum: FiveWin for Harbour/xHarbour
Topic: XBROWSE 15.12 Challenge
Replies: 11
Views: 3784

Re: XBROWSE 15.12 Challenge

Unfortunately, that does not allow for the column headers to be responsive when clicking them. In other words, it would appear it's not actually substituting the second array using the button control .

I call oInventory:setorder( 2 ) and oInventory:gotop() and that then subs in the first column ...
by TimStone
Thu Jan 07, 2016 7:08 pm
Forum: FiveWin for Harbour/xHarbour
Topic: 15.10 Browse problem
Replies: 27
Views: 9604

Re: 15.10 Browse problem

... over the past year. So going in and making this change at this time is good because it is not yet in full distribution. All I'm doing here is substituting code that is actually more compact for longer lines of code. I do each one individually, and thus nothing is "broken"

So here is another ...
by nageswaragunupudi
Fri Jul 10, 2015 1:12 am
Forum: FiveWin for Harbour/xHarbour
Topic: bug FW_DBFTOEXCEL
Replies: 4
Views: 1056

Re: bug FW_DBFTOEXCEL

Exporting by rows is a lot faster than exporting cell by cell.
We can extend the codeblock to scan for empty dates and substituting with nulls. But this again defeats the main purpose of speed. When I first made this function it was working for empty dates also correctly with xHarbour. I think ...
by George
Mon May 05, 2014 1:33 pm
Forum: FiveWin for Harbour/xHarbour
Topic: FWH 64 promotional offer
Replies: 10
Views: 2646

Re: FWH 64 promotional offer

... represent customer's information including 40
attributes for each customer. We could avoid adding the 40 fields (one for each attribute) by substituting these fields by just one CHAR field
where we can put the binary representation in Hexadecimal format (setting the bit in accordance with the ...
by nageswaragunupudi
Wed Apr 09, 2014 2:50 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Xbrowse & Arrays of different sizes
Replies: 2
Views: 702

Re: Xbrowse & Arrays of different sizes

Initially create the browse for 31 days, with headings for 31 days. Depending on the month, Hide or Show 29th column onwards.

For substituting a new array, please do not use SetArray() again. Simply assign the new array oBrw:aArrayData := aNewArray and call oBrw:Refresh( .t. ).

oBrw:aArrayData ...
by TimStone
Tue Jan 07, 2014 11:40 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Folders appearance
Replies: 9
Views: 2383

Folders appearance

... rounded, and I would like to have the colors of the tabs match the rest of the dialog ( button bars, menus, header on browse, etc ).

I tried substituting the FOLDEREX option, but it had two immediate problems. First, it dropped the background color of the dialogs ( BRUSH ), and secondly, clicking ...
by reinaldocrespo
Sun Sep 01, 2013 5:13 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Request for Advice
Replies: 16
Views: 5702

Re: Request for Advice

... in my class I manage string substitutes -like we have discussed here so far- as well as actual parameters. What we are really doing here is substituting (most likely using StrTran) we are not really sending parameters to the query. SQL engines do manage parameters, as in real parameters. These ...
by nageswaragunupudi
Fri Apr 05, 2013 6:10 pm
Forum: FiveWin for Harbour/xHarbour
Topic: TOEXCEL()
Replies: 4
Views: 1106

Re: TOEXCEL()

About RETURN in text values:

We were substituting SEMICOLON for CRLF. We were not testing for single CHR(13). We can now add that too.
Instead of SEMICOLON is it not okay to substitute CRLF, CR, LF, TAB with SINGLE SPACE?

About Numeric Values:

Before we finalize any modifications, can you please ...
by James Bott
Wed Feb 20, 2013 11:03 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Graph Functions Library
Replies: 7
Views: 2395

Re: Graph Functions Library

... the data. This will be much simpler than what you were doing. The only coding would be to do a manual paging which I think you can do by just substituting an new data range for each time the user presses a button to go forward or backward.

The only issue you will have is the Y-axis range. TGraph ...