Jump to content
Fivewin Brasil

usando TRANSFORM() com fontes diferentes


syda

Recommended Posts

Olá,

Não estou conseguindo usar o comando @ SAY

minha linha de código:

@ 10,100 SAY oSay1 VAR 'Projetado...: '+TRANS(PROJTOT,'@R 99,999.99') OF oWnd COLOR CLAZUL

@ 11,100 SAY oSay2 VAR 'Peso Mínimo.: '+TRANS(MIN ,'@R 99,999.99') OF oWnd COLOR CLAZUL

Erro: Não fica alinhado

Tentativa de correção: Mudar a fonte usando

DEFINE FONT oFontL NAME "CourierPS" SIZE 0,-12

@ 10,100 SAY oSay1 VAR 'Projetado...: '+TRANS(PROJTOT,'@R 99,999.99') OF oWnd COLOR CLAZUL FONT oFontL

@ 11,100 SAY oSay2 VAR 'Peso Mínimo.: '+TRANS(MIN ,'@R 99,999.99') OF oWnd COLOR CLAZUL FONT oFontL

Resultado: o conteúdo retornado pelo transform não aparece na tela.

Como corrigir este problema? Uso a versão 2.0d do FiveWin e 5.3b rev 338 do Clipper. Estou usando também a Classe TGRAPH3 (que a propósito é ótima).

Meu arquivo .LNK

BLINKER INCREMENTAL OFF

BLINKER EXECUTABLE NODELETE

BLinker Executable Clipper F250

PACKCODE

PACKDATA

FILE AUDITFW

FILE PROCED

DEFBEGIN

name FiveWin

description 'Clipper for Windows library'

exetype Windows 3.1

code moveable discardable preload

data preload moveable

stacksize 10000

heapsize 1024

DEFEND

NOBELL

LIB DBFCDX,_DBFCDX

LIB Five, FiveC, Objects

LIB WinApi, Clipper, Extend, Terminal

LIB MYLIBG // minha lib

LIB TGRAPH3

OUT AUDITFW

Desde já agradeço

Abraços.

Link to comment
Share on other sites

Olá,

Eu usaria o WorkShop ou trabalharia com Pixel, mas quando vc não utiliza o WorkShop e bom ajustar o size do controle para ficar com um bom tamanho de digitação

@ 10,100 SAY oSay1 VAR 'Projetado...: '+TRANS(PROJTOT,'@R 99,999.99') OF oWnd COLOR CLAZUL SIZE 13,100

citação:

Olá,

Não estou conseguindo usar o comando @ SAY

minha linha de código:

@ 10,100 SAY oSay1 VAR 'Projetado...: '+TRANS(PROJTOT,'@R 99,999.99') OF oWnd COLOR CLAZUL

@ 11,100 SAY oSay2 VAR 'Peso Mínimo.: '+TRANS(MIN ,'@R 99,999.99') OF oWnd COLOR CLAZUL

Erro: Não fica alinhado

Tentativa de correção: Mudar a fonte usando

DEFINE FONT oFontL NAME "CourierPS" SIZE 0,-12

@ 10,100 SAY oSay1 VAR 'Projetado...: '+TRANS(PROJTOT,'@R 99,999.99') OF oWnd COLOR CLAZUL FONT oFontL

@ 11,100 SAY oSay2 VAR 'Peso Mínimo.: '+TRANS(MIN ,'@R 99,999.99') OF oWnd COLOR CLAZUL FONT oFontL

Resultado: o conteúdo retornado pelo transform não aparece na tela.

Como corrigir este problema? Uso a versão 2.0d do FiveWin e 5.3b rev 338 do Clipper. Estou usando também a Classe TGRAPH3 (que a propósito é ótima).

Meu arquivo .LNK

BLINKER INCREMENTAL OFF

BLINKER EXECUTABLE NODELETE

BLinker Executable Clipper F250

PACKCODE

PACKDATA

FILE AUDITFW

FILE PROCED

DEFBEGIN

name FiveWin

description 'Clipper for Windows library'

exetype Windows 3.1

code moveable discardable preload

data preload moveable

stacksize 10000

heapsize 1024

DEFEND

NOBELL

LIB DBFCDX,_DBFCDX

LIB Five, FiveC, Objects

LIB WinApi, Clipper, Extend, Terminal

LIB MYLIBG // minha lib

LIB TGRAPH3

OUT AUDITFW

Desde já agradeço

Abraços.


id=quote>id=quote>
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...