TGET MULTILINE

TGET MULTILINE

Postby MGA » Wed Nov 13, 2013 5:15 pm

cMsg := " linha1 "+CRLF+;
" linha2 "+CRLF+;
" linha3 "

redefine get oGet var cMsg id 4001 of oDlg font oFont_re color CLR_HBLUE,CLR_WHITE readonly

Sr. Antonio, nas versões anteriores do FIVEWIN o código acima funcionava em um GET. Com FWH 13.08 não esta respeitando o CRLF.
ubiratanmga@gmail.com

FWH24.04
BCC7.3
HARBOUR3.2
xMate
Pelles´C
TDolphin
MGA
 
Posts: 1252
Joined: Mon Feb 25, 2008 2:54 pm
Location: Brasil/PR/Maringá

Re: TGET MULTILINE

Postby Antonio Linares » Thu Nov 14, 2013 8:35 am

Are you using ES_MULTILINE style in the resources for the GET multiline ?
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: TGET MULTILINE

Postby MGA » Fri Nov 15, 2013 12:50 pm

Sim, com PELLES.
ubiratanmga@gmail.com

FWH24.04
BCC7.3
HARBOUR3.2
xMate
Pelles´C
TDolphin
MGA
 
Posts: 1252
Joined: Mon Feb 25, 2008 2:54 pm
Location: Brasil/PR/Maringá

Re: TGET MULTILINE

Postby Antonio Linares » Fri Nov 15, 2013 1:01 pm

Este ejemplo funciona bien aqui:

Code: Select all  Expand view
#include "FiveWin.ch"

function Main()

   local cText := "Hello" + CRLF + "world" + CRLF + "FiveWin"
   local oDlg

   DEFINE DIALOG oDlg RESOURCE "test"

   REDEFINE GET cText ID 100 OF oDlg MULTILINE

   ACTIVATE DIALOG oDlg CENTERED

return nil


Code: Select all  Expand view
// RESOURCE SCRIPT generated by "Pelles C for Windows, version 7.00".

#include <windows.h>

LANGUAGE LANG_ENGLISH,SUBLANG_ENGLISH_US

test DIALOGEX DISCARDABLE 6, 18, 274, 130
STYLE DS_SHELLFONT|WS_POPUP|DS_MODALFRAME|DS_CONTEXTHELP|DS_3DLOOK|WS_CAPTION|WS_SYSMENU|WS_VISIBLE
CAPTION "Dialog"
FONT 8, "Tahoma"
{
  CONTROL "Edit", 100, "Edit", ES_MULTILINE|ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 4, 4, 216, 124
  CONTROL "OK", IDOK, "Button", WS_TABSTOP, 224, 4, 45, 15
  CONTROL "Cancel", IDCANCEL, "Button", WS_TABSTOP, 224, 20, 45, 15
}
 
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: TGET MULTILINE

Postby goosfancito » Sun May 02, 2021 7:33 pm

como se iniciaria en este caso cText, para grabarlo como memo en mysql?
cText:=...
FWH 21.02
Harbour 3.2.0dev (r2104281802)
Copyright (c) 1999-2021, https://harbour.github.io/
User avatar
goosfancito
 
Posts: 1954
Joined: Fri Oct 07, 2005 7:08 pm


Return to FiveWin para Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 103 guests