I have an xbrowse with memos with different lines numbers, i need to adjust lines to size or scroll into xbrowse line if line numbers greater than 3 lines.
Regards,
SCROLL INSIDE XBROWSE LINES WITH MEMO
SCROLL INSIDE XBROWSE LINES WITH MEMO
Nicanor Martinez M.
Auditoria y Sistemas Ltda.
MicroExpress Ltda.
FW + FWH + XHARBOUR + HARBOUR + PELLES C + XDEVSTUDIO + XEDIT + BCC + VC_X86 + VCC_X64 + MINGW + R&R Reports + FastReport + Tdolphin + ADO + MYSQL + MARIADB + ORACLE
nnicanor@yahoo.com
Auditoria y Sistemas Ltda.
MicroExpress Ltda.
FW + FWH + XHARBOUR + HARBOUR + PELLES C + XDEVSTUDIO + XEDIT + BCC + VC_X86 + VCC_X64 + MINGW + R&R Reports + FastReport + Tdolphin + ADO + MYSQL + MARIADB + ORACLE
nnicanor@yahoo.com
- nageswaragunupudi
- Posts: 10733
- Joined: Sun Nov 19, 2006 5:22 am
- Location: India
- Been thanked: 11 times
- Contact:
Re: SCROLL INSIDE XBROWSE LINES WITH MEMO
Code: Select all | Expand
#include "fivewin.ch"
REQUEST DBFCDX
function Main()
local oDlg, oBrw, oFont
USE WWONDERS VIA "DBFCDX"
DEFINE FONT oFont NAME "TAHOMA" SIZE 0,-14
DEFINE DIALOG oDlg SIZE 500,600 PIXEL TRUEPIXEL FONT oFont
@ 20,20 XBROWSE oBrw SIZE -20,-20 PIXEL OF oDlg ;
DATASOURCE "WWONDERS" ;
COLUMNS "NAME", "DETAILS" ;
COLSIZES 200 ;
CELL LINES NOBORDER
WITH OBJECT oBrw
:nDataLines := 4
WITH OBJECT :aCols[ 2 ]
:nEditType := EDIT_GET
:bClrEdit := { || { CLR_BLACK, CLR_YELLOW } }
// If we do not want user to modify and save changes
:bOnPreEdit := { |o| o:oEditGet:lReadOnly := .t. }
END
:CreateFromCode()
END
ACTIVATE DIALOG oDlg CENTERED
RELEASE FONT oFont
return nil

Regards
G. N. Rao.
Hyderabad, India
G. N. Rao.
Hyderabad, India
- Silvio.Falconi
- Posts: 7253
- Joined: Thu Oct 18, 2012 7:17 pm
- Been thanked: 29 times
Re: SCROLL INSIDE XBROWSE LINES WITH MEMO
If we do want user to modify and save changes ?
that is, if we wanted to edit on line ( by user) and save the text how should we do it?
that is, if we wanted to edit on line ( by user) and save the text how should we do it?
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com