to Mr. Rao

to Mr. Rao

Postby ukservice » Thu Dec 22, 2011 6:13 pm

Mr. Nao,

I have two questions about xBrowse. I would appreciate your help please.

Regarding viewtopic.php?f=3&t=23113

http://imageshack.us/photo/my-images/19 ... great.png/

Is it possible to exclude spaces, as the picture?.



Also, in
Code: Select all  Expand view
oBrw:aCols[ 1 ]:nEditType   := EDIT_GET_BUTTON


Is it possible in the button to indicate a Bmp as BUTTONBMP?.


Thanks a lot.
Last edited by ukservice on Mon Dec 26, 2011 10:36 am, edited 1 time in total.
FWH 11.11, Harbour 3.1 and Borland C++ 5.82
User avatar
ukservice
 
Posts: 417
Joined: Tue Feb 23, 2010 3:09 pm
Location: John

Re: to Mr. Nao

Postby hua » Fri Dec 23, 2011 6:53 am

Don't you mean Mr Rao? :)
FWH 11.08/FWH 19.12
BCC5.82/BCC7.3
xHarbour/Harbour
hua
 
Posts: 1072
Joined: Fri Oct 28, 2005 2:27 am

Re: to Mr. Nao

Postby nageswaragunupudi » Fri Dec 23, 2011 1:43 pm

Is it possible to exclude spaces, as the picture?.




If this is a character field, use Trim(<fieldname>) while defining xbrowse.
Example:

Code: Select all  Expand view

oBrw:aCols[n]:bEditValue := { |x| If( x == nil, Trim(<fieldname>), ( <fieldname> := x, Trim(x) ) }
 

I do not know why you want this behavior. Users will not be able to enter longer value than the trimmed value shown in the browse.
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10632
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: to Mr. Nao

Postby nageswaragunupudi » Fri Dec 23, 2011 1:47 pm

Is it possible in the button to indicate a Bmp as BUTTONBMP?.

Please use oCol:nBtnBmp for this purpose
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10632
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: to Mr. Nao

Postby ukservice » Fri Dec 23, 2011 5:17 pm

Thank you very much.

Also, one last thing.

I do double click to edit a field or just press enter.

To save changes, I should press enter too. Also, is it possible to save changes when clicking in another cell?.

Thanks.
FWH 11.11, Harbour 3.1 and Borland C++ 5.82
User avatar
ukservice
 
Posts: 417
Joined: Tue Feb 23, 2010 3:09 pm
Location: John

Re: to Mr. Nao

Postby FranciscoA » Fri Dec 23, 2011 11:33 pm

Hi, Mr. Nao.
I also am interested in exposing ukservice.
Is it possible save changes on EDIT_GET without pressing ENTER and clicking another cell or the header's column?

Thanks
Francisco J. Alegría P.
Chinandega, Nicaragua.

Fwxh-MySql-TMySql
User avatar
FranciscoA
 
Posts: 2158
Joined: Fri Jul 18, 2008 1:24 am
Location: Chinandega, Nicaragua, C.A.

Re: to Mr. Nao

Postby RAMESHBABU » Mon Dec 26, 2011 6:51 am

Hi Mr.ukservice and Mr.FranciscoA

Don't you mean Mr Rao?


Mr.hua already pointed out that error in addressing Mr.Rao as Mr.Nao.

Inspite of Mr.Hua's pointing, Mr.ukservice did not mind to rectify the error:(
and kept on asking for Mr.Rao's help.

It is very sad that Mr.FranciscoA is also on the same path of Mr.ukservice :o

Let us respect our Seniors, at least by calling them with their own names.

Mr.ukservice and Mr.FranciscoA

I hope you don't think bad of my comment.

Regards,

- Ramesh Babu P
User avatar
RAMESHBABU
 
Posts: 624
Joined: Fri Oct 21, 2005 5:54 am
Location: Secunderabad (T.S), India

Re: to Mr. Rao

Postby ukservice » Mon Dec 26, 2011 10:38 am

Sorry, I thought if was Nao as others call him too.

Sorry again and thanks for your help and interest.
FWH 11.11, Harbour 3.1 and Borland C++ 5.82
User avatar
ukservice
 
Posts: 417
Joined: Tue Feb 23, 2010 3:09 pm
Location: John


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 92 guests