topic stringlengths 1 63 | text stringlengths 1 577k ⌀ |
|---|---|
cerrar un recordset | No Adolfo,
Está declarada como STATIC.
Pero creo que para el caso viene igual, pues al cerrar el dialogo y la ventana, desaparecería igual que si fuese local.
¿no? |
cerrar ventana preview con teclado | Gente:
se puede salir de un preview con el teclado? por ejemplo con la tecla Enter |
cerrar ventana preview con teclado | De la manera mas simple, puedes hacer: ALT+F Y S.
Si quieres hacer tu propia function, no lo he hecho.
Saludos. |
cerrar ventana preview con teclado | Hola francisco, quiero evitar la combinación de teclas, lo necesito con una tecla como ESC |
cerrar ventana preview con teclado | yo lo tengo así :
METHOD BuildWindow() CLASS TPreview
.....
::oWnd:bKeydown := { | nKey, nFlags | Iif( nkey == 27 , ::oWnd:End(),) }
.....
Return |
cerrar ventana preview con teclado | [quote="mastintin":1ggp2jm5]yo lo tengo así :
METHOD BuildWindow() CLASS TPreview
.....
::oWnd:bKeydown := { | nKey, nFlags | Iif( nkey == 27 , ::oWnd:End(),) }
.....
Return[/quote:1ggp2jm5]
Mastintin gracias por responder, en realidad estoy usando la clase txtview y si existe la condicion de que al presionar
E... |
cerrar ventana preview con teclado | Intenta asi:
[code=fw:1b4zupkj]<div class="fw" id="{CB}" style="font-family: monospace;"><br />*---------------------------------------------------------------------------<br />* TxtPreview - Ednaldo Rolim <span style="color: #000000;">(</span><!-- e --><a href="mailto:edrol@uol.com.br">edrol@uol.com.br</a><!-- e ... |
cerrar ventana preview con teclado | Joao no funciona, no cierra la ventana con la Tecla Esc |
cerrar ventana preview con teclado | Y con ALT+F4 ? |
cerrar ventana preview con teclado | Si Joao si se que se puede con ALT+F4, pero el usuario lo quiere con una sola tecla en este caso ESC
conoces el dicho que dice : "Donde manda Capitán no manda marinero" |
cerrar ventana preview con teclado | Intenta ahora:
[code=fw:2hqm27x8]<div class="fw" id="{CB}" style="font-family: monospace;"><br />*---------------------------------------------------------------------------<br />* TxtPreview - Ednaldo Rolim <span style="color: #000000;">(</span><!-- e --><a href="mailto:edrol@uol.com.br">edrol@uol.com.br</a><!-- ... |
cerrar ventana preview con teclado | Joao sigue sin funcionar 1>( |
cgetdir | Para todo el foro:
Necesito utilizar cgetdir para accesar a un programa externo (carpeta=ubicacion de archivo), sin asignar una unidad de red al momento de accesar al grupo de trabajo no muestra los equipos.
Alguna sugerencia? |
cgetfile32 parametros | Me podrían instruir como llamar a la función para que no me de errores (igual compila y es utilizable) pero se ve que algo esta mal con los parametros, lo hago de esta manera:
[color=#4000FF:2fq69msn]c[b:2fq69msn]Getfile32("Certificado(*.pfx) |*.pfx|","Certificado de Afip"),1,,,.t. )[/b:2fq69msn][/color:2fq69msn]
Y ... |
cgetfile32 parametros | Disculpen que por apurado no consulte con los post anteriores, entre a wiki de fivewin y encontré la respuesta
Gracias |
cgi que reciba archivos | Hola,Necesito crear un cgi que reciba un archivo que esta en el lado del cliente, ¿ Alguien sabe si se puede hacer con harbour ?, ¿ algun ejemplo o guia para empezar ?.Gracias de antemano.Lautaro MoreiraOsornoChile |
change Image | I wish change a image when I move the mouse over the image control
sample :
&img_name:bMMoved:= { || myfunc() }
Func Myfunc()
&img_name:cBmpfile:="full.bmp"
return nil
I tried with LoadImage, LoadBmp or setbmp and all make error I not Know why |
change Image | Silvio,
Why are you using & in front of img_name ? |
change Acol(num) to fieldName | Hey,
Just didn't find this probably easy issue :
When developing, the browse is changing because I add/change fielnames and colums from position.
If I put a value of [15] then I have to alter the source every time I change something in the coloms
oBrw4:aCols[ 15 ]:bLClickHeader := { |r,c,f,oCol| head_col(oCol:Value)... |
change Acol(num) to fieldName | [code=fw:3mn15z9f]<div class="fw" id="{CB}" style="font-family: monospace;"> oBrw4:<span style="color: #000000;">kleuren</span>:<span style="color: #000000;">bLClickHeader</span> := <span style="color: #000000;">{</span> |r,c,f,oCol| head_col<span style="color: #000000;">(</span>oCol:<span style="color:... |
change Acol(num) to fieldName | Thanks Again... |
change Border color BTNBMP | [quote="nageswaragunupudi":2x2esb8u][code=fw:2x2esb8u]<div class="fw" id="{CB}" style="font-family: monospace;"> @ <span style="color: #000000;">200</span>, <span style="color: #000000;">20</span> <span style="color: #0000ff;">BTNBMP</span> oBtn <span style="color: #0000ff;">PROMPT</span> <span style="color: #ff0000;... |
change Border color BTNBMP | I need a sample to redraw border color into a btnbmp, thanks
I try to change the color of the border it but the color border is allways black |
change Border color BTNBMP | [code=fw:3rcon3jj]<div class="fw" id="{CB}" style="font-family: monospace;"> @ <span style="color: #000000;">200</span>, <span style="color: #000000;">20</span> <span style="color: #0000ff;">BTNBMP</span> oBtn <span style="color: #0000ff;">PROMPT</span> <span style="color: #ff0000;">"Prompt"</span> <span style="color... |
change CODEPAGE obtained from XML | I'm trying to access a webservice that works with encoding="ISO-8859-1"
The problem is that the return has special characters and is generating divergence in the data.
XML Header
<?xml version="1.0" encoding="ISO-8859-1" ?>
In the browser:
<nomeSegmento>Cacau em Pó</nomeSegmento>
When creating a TXT with the ret... |
change ChooseColor() Background Color | hi,
i have ask ChatGPT how to color ChooseColor()
[quote:yvxs602b]If you are using the Win32 API to display these dialogs, you may be able to change the background color of the parent window before displaying the dialog box. Here is some sample code:
[code=fw:yvxs602b]<div class="fw" id="{CB}" style="font-family: mon... |
change ChooseColor() Background Color | Maybe:
[url:3j9vyngn]https://github.com/harbour/core/blob/master/contrib/gtwvg/wvgutils.c[/url:3j9vyngn]
[code=fw:3j9vyngn]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #00D7D7;">#pragma</span> BEGINDUMP<br /><span style="color: #00D7D7;">#define</span> _WIN32_IE 0x05... |
change ChooseColor() Background Color | hi,
thx for Answer
i have try to use Function which you have upload
[code=fw:1tlvu65e]<div class="fw" id="{CB}" style="font-family: monospace;">CHOOSEFONT<span style="color: #000000;">(</span><span style="color: #000000;">)</span><br />C_GETFILE<span style="color: #000000;">(</span><span style="color: #00... |
change ChooseColor() Background Color | I already asked ChatGpt some questions concerning xHarbour.
None of the answers were free of errors.
Sometimes natural intelligence beats artificial intelligence. <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D --> |
change ChooseColor() Background Color | Opinion ...
It seems almost everyone is rushing to AI ... the worlds largest fast food company McDonalds is preparing to lay-off thousands of workers in favor of AI automation .. at what point do Humans become the enslaved and the Machines become the Masters .. We are in the midst of an AI revolution and the beginnin... |
change a font on line | I must change a font of a say on line
But I not Know How make it
I made a combo with all font
LOCAL hDC := GetDC( oWnd:hWnd )
aFonts := ASort( GetFontNames( hDC ) )
ReleaseDC( oWnd:hWnd, hDC )
@ .27, 1.8 COMBOBOX oFonts VAR cFont ITEMS aFonts ;
SIZE 170, 100 FONT oFont ;
... |
change a font on line | Silvio,
Please provide complete self contained PRGs as examples, not just portions of the code
so we can quickly copy and build them
thanks |
change a font on line | Antonio,
I think my tool, I created some times ago includes many solutions.
A fontselect can display the text on a window or say.
The fontstring can be saved / loaded to / from a dbf.
It doesn't matter if You load a font from a DBF, Combo or Fontselector.
[img:1lpclb8g]http://www.pflegeplus.com/IMAGES/Fon... |
change a font on line | perhaps it not is need for the moment , I found another solution ...seems |
change a get with on execution | I wish size a get when the user press a button or a menu
I tried with move(), resize() methods with no success !!!
I have this get
@ 0.5, 0.5 GET oGet VAR cGet OF oDlg SIZE 120, 12 RIGHT FONT oFont2
and I wish change the with from 120 to 232 |
change a get with on execution | Silvio,
tested with a big font :
[img:17v43xpv]http://www.pflegeplus.com/pictures/getresize.jpg[/img:17v43xpv]
[color=#0000FF:17v43xpv][b:17v43xpv]lRepaint := .F.[/b:17v43xpv][/color:17v43xpv]
[color=#0000FF:17v43xpv][b:17v43xpv]REDEFINE GET oGet1 VAR nWColorF ID 120 OF oDlg4 PICTURE "999999999" F... |
change a get with on execution | Sorry here not run ok
Function Calc_Scentifica(oDlg,oGet)
lRepaint:=.t.
oGet:bPainted := { |hDC| IIF( lRepaint , oGet:Move( , , 100, 50, .f. ), NIL ) }
oGet:refresh()
RETURN NIL
the error
[code=fw:172li9y8]<div class="fw" id="{CB}" style="font-family: mon... |
change a get with on execution | Silvio,
it is a wrong logic.
The oGet:Refresh() is needed inside the BUTTON-action !
Just add the line < oGet:bPainted > next to Your defined get.
You don't need a function for oGet:bPainted !
[color=#0000FF:357udpuh]lRepaint := .F.
REDEFINE GET oGet1 VAR nWColorF ID 120 OF oDlg4 PICTURE "999999999" FONT oFont1[/co... |
change a get with on execution | [quote:1uv21t0x]I have this get
@ 0.5, 0.5 GET oGet VAR cGet OF oDlg SIZE 120, 12 RIGHT FONT oFont2
and I wish change the with from 120 to 232
[/quote:1uv21t0x]
Please try
[code=fw:1uv21t0x]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">function</span> test<span style="color... |
change a get with on execution | this run ok , I need it to change Msgcalc Standard to Scentific... |
change a number ( negative and positive) | nNumber:= 100.00
nNegative:= signo(nNumber) return - 100.00 ok
nPositive := signo( nNegative) return allways - 100.00
why ?
the function
FUNC Signo(nValue)
RETURN (IF(nValue>0, -1.0, 1.0)) |
change a number ( negative and positive) | Silvo
Try multiplying your return number by -1 for a negative number 100 * -1 = -100
Rick Lipkin |
change a number ( negative and positive) | Maybe this idea:
n:=100
MsgInfo( if(n>0,-n,Abs(n)),"was posit, now it's negat" )
n:= -100
MsgInfo( if(n>0,-n,Abs(n)), "was negat, now it's posit" ) |
change a number ( negative and positive) | Armando,I wish insert "±" on msgcalc()
@ n + nlinea2,ncol6 BUTTON oBtPM PROMPT "±" OF oDlg ;
SIZE 30,25 ;
ACTION (CalcRes( cLastOpe, @nMemo, oGet, oRes, cPict,.t.,"±" ), ;
cLastOpe := "±" ) FONT oFont
on [b:1j9tf7nf]Calcres[/b:1j9tf7nf] function I add
elseif cnOpe == "±"
nMemo := ... |
change a number ( negative and positive) | Ciao Silvio,
May be I'm missing sth, but what about, instead of
[code=fw:h19xjyor]<div class="fw" id="{CB}" style="font-family: monospace;"><br />elseif cnOpe == <span style="color: #ff0000;">"±"</span><br /> nMemo := <span style="color: #00C800;">if</span><span style="color: #000000;">(</span>nval><s... |
change a number ( negative and positive) | I saw there is a function on clipper tools 5.3 sign()
<!-- m --><a class="postlink" href="http://www.itlnet.net/Programming/Program/Reference/tools1-3/ngcdaec.html">http://www.itlnet.net/Programming/Progr ... cdaec.html</a><!-- m --> |
change a number ( negative and positive) | run also to xharbour but return - 1 or +1
[img:30dad4fi]http://www.eoeo.it/wp-content/uploads/2014/11/calc.jpg[/img:30dad4fi]
I tried
nMemo := IIF( sign(nval)=1,-1*nVal,abs(nVal))
but not run
tried also in this mode
If sign(nval)= 1
nMemo :=-nVal
... |
change an array of files on the fly. SOLVED | I have an array of file names in a directory...Created as follows ... directory(c:\*.?55)
I then copy the files into another directory.
Say there are 4 files that make up the array:
gl.d55
base.d55
term.d55
gener.p55
All works fine. All files with the 55 are copied into another directory.
But under certain conditio... |
change an array of files on the fly. SOLVED | try use this way:
directory("c:\*.*55") |
change an array of files on the fly. SOLVED | Thanks for the quick response but I solved it.
set up arraof the file with the 55 in the name.
cNewFile := directory("c:\directory\*.?55)
Create varible to copy the file:
cCopyFile := substr(cNewFile,0,(len(cNewFile)))
Change the file number 55 to 43.
cCopyFile := left(cCopyfile,len(cCopyfile)-2)+"43"
Works |
change background file PNG inside .pgm | hi,
I have to print some PNG files:
[code=fw:bpabhfkn]<div class="fw" id="{CB}" style="font-family: monospace;"><br />oprn:<span style="color: #000000;">SayImage</span><span style="color: #000000;">(</span><span style="color: #000000;">1000</span>, <span style="color: #000000;">900</span>, <span style="color: #ff00... |
change background file PNG inside .pgm | I think in case of black and white printing
You have to convert the images to [color=#0000FF:2rbkoc5n][b:2rbkoc5n]NEGATIVE[/b:2rbkoc5n][/color:2rbkoc5n]
You can use [b:2rbkoc5n]GIMP[/b:2rbkoc5n] ( freeware )
select option < Colors > -> < Invert >
[img:2rbkoc5n]http://www.pflegeplus.com/IMAGES/Pngconvert&... |
change background file PNG inside .pgm | hi Uwe, thank you for reply.
I haev about 2000 files, in my pgm users insert "code number" and print report of article with file PNG.
it's very compicated change signle file by GMIP and I thought it could be done inside pgm with some function... |
change background file PNG inside .pgm | I'm not sure if xImage or FREEIMAGE supports NEGATIV - painting. <!-- s:?: --><img src="{SMILIES_PATH}/icon_question.gif" alt=":?:" title="Question" /><!-- s:?: -->
There is another possible solution using GIMP as a commandline-tool ( script )
regards
Uwe <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D... |
change background file PNG inside .pgm | Please try if this approach works for you.
[code=fw:2z5i392x]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"fivewin.ch"</span><br /><br /><span style="color: #00D7D7;">#define</span> SRCCOPY 0x00CC0020<br /><spa... |
change background file PNG inside .pgm | thank you mr. Rao
very good,
I'll try it next week. |
change background file PNG inside .pgm | hi mr.Rao,
now I working again to this project but I have FiveWin for xHarbour 17.09 - Sep. 2017 and inside this version there is not FW_ReadImage |
change background file PNG inside .pgm | FW_ReadImage() works from FWH 18.01.
For FWH 1709, please use a similar function "WndReadPalBmpEx(...)" with the same syntax.
Please let me know if this works for you. |
change background file PNG inside .pgm | hi, it's works good.
now I have another question:
how can I know that background of bmp file is black or white ?
thank you |
change background file PNG inside .pgm | hi,
how can I to zoom bmp file by DrawBitmap function ?
thanks |
change bitmaps from radio button | I need to change a small bitmaps from radio button ..How I can make ...is there a test sample ?
I use radio control for the first element and the I use radiomenu for the other element
sample :
@ 8, 11 SAY "&Avviso:" SIZE 45, 7 PIXEL OF oFld4:aDialogs[3] COLOR 0, 14215660
@ 6, 51 RADIO aGet[25... |
change bitmaps from radio button | Silvio,
only a quick test ( I still noticed a missing transparency, loading a bmp-resource )
[img:3mw0jqg1]http://www.pflegeplus.com/pictures/radiobmp.jpg[/img:3mw0jqg1]
[code=fw:3mw0jqg1]<div class="fw" id="{CB}" style="font-family: monospace;"><br />@ <span style="color: #000000;">8</span>, <span ... |
change bitmaps from radio button | A extended test with alphablended images from file, testing transparent on folder-brushes
This solution works perfect.
[img:j7mx1kpa]http://www.pflegeplus.com/pictures/radiobmp1.jpg[/img:j7mx1kpa]
[code=fw:j7mx1kpa]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #0... |
change bitmaps from radio button | Mybe this can helps (All from resources)
REDEFINE BITMAP oBmpOpc RESOURCE cBmpOpc ID 4008 OF oDlg
oBmpOpc:lTransparent:=.t.
REDEFINE RADIO oRadio VAR nVar ID 101,102,103,104,105,106,107 OF oDlg ;
ON CHANGE Refresque(nVar,oBmpOpc)
//------------------------
Function Refresque(nVar,oBmpOpc)
if... |
change bitmaps from radio button | Francisco,
Silvio only wants to load [color=#0000FF:3qbaintf][b:3qbaintf]BMP's[/b:3qbaintf][/color:3qbaintf] from a resource like :
[color=#0000FF:3qbaintf][b:3qbaintf]DEFINE IMAGE oImg RESOURCE "A_EXIT" // FILENAME c_path1 + "A_EXIT.bmp"
or
oImg := FILoadImg( AllTrim( "A_EXIT.bmp" ), , "A_EXIT" )[/b:3qbaintf][/col... |
change bitmaps from radio button | [quote:3i3l706q]The problem : it is impossible, to save a alphablended bmp with Resource-Workshop[/quote:3i3l706q]
I use PellesC
[url=http://www.4shared.com/photo/jcA53BP8ce/Scanning.html:3i3l706q][img:3i3l706q]http://dc586.4shared.com/img/jcA53BP8ce/143d4bf6e40/Scanning.bmp[/img:3i3l70... |
change bitmaps from radio button | Uwe,
I tried with this :
@ 22, 342 BITMAP oBmp[2] RESOURCE NIL PIXEL OF OFld4:aDialogs[3] NOBORDER SIZE 32,32 ADJUST
oBmp[2]:ltransparent:=.t.
oBmp[2]:bPainted := { |hDC| IIF( nMessaggioComunicazioni = 1, ;
hBmp := LoadBitmap( GetResources(), "NOAVVISO" ), NIL ), ;
IIF( ... |
change bitmaps from radio button | Silvio,
I found a short and easy transparent solution that works from resources.
[color=#0000FF:3sbswm0w]@ 30, 20 RADIO oRadio1 VAR nValue1 ITEMS "&No" OF oFld:aDialogs[1] SIZE 30, 10 PIXEL ;
ON CHANGE { || ;
IIF( nValue1 = 1, oBmp1:LoadImage( "IMAGE1" ), NIL ), ;
IIF( nValue1 = 2, oBmp1:LoadImage( "IMAGE2" ), NIL ),... |
change bitmaps from radio button | Error occurred at: 01/29/14, 09:11:27
Error description: Error BASE/1004 Class: 'NIL' has no exported method: LOADIMAGE
Args:
[ 1] = U
[ 2] = C NOAVVISO
Stack Calls
===========
Called from: => LOADIMAGE( 0 )
Called from: source\test2.prg => (b)INVOICE( 586 )
Called from: .\source\cl... |
change button name on the fly | I seem to be having a problem changing the name of a button after I click on it. Here is the code. What am I doing wrong.
[code:3w1or007]redefine button obtn7 prompt cPrompt id 16 of oDlg ;
action(openfilter := .f., asetfilter(.f.,obrw),gl->(dbgoto(1)),oBrw:setfocus(),oBrw:refresh(),oBrw... |
change button name on the fly | hello Hag
try with
oBtn7:SetText( "Help" )
oBtn7:refresh() |
change button name on the fly | Perfect. Thanks. |
change button name on the fly | For your information, you don't need to refresh the button.
EMG |
change color | I have a btnbmp with no image
@ nrow, ncol BTNBMP aBmps[ nY, nX ] OF oDlg SIZE BMP_H, BMP_V PIXEL
can I fill the btnbmp with a color on a second moment?
I tried with setcolor or bpainted and it not run
also with aBmps[ nY, nX ]:bClrGrad := { |l,oBtn| CLR_GREEN }
I must change the color on each button... |
change color | Just try this small test
The button-actions can be any condition
The button < dark > changes the colors of button 1 and 2 to dark red
The button < normal > switches back to normal
[img:2i0dqlc8]http://www.pflegeplus.com/IMAGES/Btnswitch1.jpg[/img:2i0dqlc8]
[code=fw:2i0dqlc8]<div class="fw" id="{CB}" s... |
change color | I resolved !!!
the problem was I use ltransparent:=.t. when I change the colors of btnbmp this not was changed |
change color of part of a screen | Hi Everybody,
I would like to change the background color of "part" of my screen.
In the following screen shot clip, I would like to change the background whenever the waveform dips below the red line. I need to still see the waveform. I can get the screen co-ordinates, I just need to know the color changing part.
... |
change color of part of a screen | Jeff,
If you don't use a dooted red line (use a continuous one) then you can use FloodFill() |
change color of part of a screen | Antonio,
Take a look at this second screen shot ... This is an idea of what I am trying to do.
[img]
<!-- w --><a class="postlink" href="http://www.can-soft.net/dl/ScreenShot2.JPG">www.can-soft.net/dl/ScreenShot2.JPG</a><!-- w -->
[/img]
Thanks,
Jeff |
change color of part of a screen | Jeff,
Try drawing a box then use floodFill(). Use the same color pen for both.
Maybe you will have to redraw the gridlines and graph afterward.
James |
change color of part of a screen | Jeff,
Do you mean those vertical gray rectangles ? |
change color of part of a screen | Antonio,
Yes, the grey areas are what I would like to add when needed.
Jeff |
change color of part of a screen | Jeff,
You may paint them using Rectangle() before painting the lines |
change design | [img:2nfe2p5q]http://www.iispascalcomiforti.it/wp-content/uploads/2016/12/bb.jpg[/img:2nfe2p5q]
when I use design command on a control I wish save the position on a file or ini
What you can recommend to have a fast save and a quick read?
I use many controls in the dialog say and only one bitmap.
Obv... |
change design | FoxPro used DBFs to save and read "forms", so you could use a DBF too <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> |
change dialog size from a combobox | selecting an option from a combobox the dialog must be resized according to the instructions inserted in the Change_dialog() function because according to the option the end user must insert some controls instead of others.
the second combobox only changes a get for a btnbmp
the problem is that the procedure recreate... |
change font after creation | i want to change some definitions of a font after creation.
DEFINE FONT oFont NAME "Times New Roman" SIZE 10, 12 OF oPrn
i have tried this, but doesn't work:
oFont:nWidth( 24 ); oFont:nHeight( 10 )
oFont:lBold := .t.
oFont:lItalic := .t.
oFont:cFaceName := "Arial"
is it possible?
thanks, marzio |
change font after creation | Best regards,
Otto
FIVEWIN samples: testfon3.prg
[code=fw:1dkaf92f]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #B900B9;">// Saving and restoring a font. By Enrico Maria Giordano</span><br /><br /><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"Fivewin.ch"... |
change font after creation | We can not change the font attributes of the same font object after definition. But we can derive a new font object with changing some attributes and set the new font to the control. In many cases it is much easier than the method suggested in testfon3.prg.
Examples:
DEFINE FONT oFont NAME 'TAHOMA' SIZE 0,-12
oBold... |
change font after creation | thanks for your replays.
i have many line like these,
for each line that i print i have to change the dimension of the font:
DEFINE FONT oFont NAME "Times New Roman" SIZE 24, 13 OF oPrn
oPrn:Say(..., oFont)
oFont:End()
DEFINE FONT oFont NAME "Times New Roman" SIZE 15, 9 OF oPrn
oPrn:Say(..., oFont)
etc. many times... |
change font after creation | Not easy, but possible
Font-Editor Update Rel. 1.3
[color=#FF0000:1de4l77w]New[/color:1de4l77w] Background-Color added
[color=#FF0000:1de4l77w]New [/color:1de4l77w]Font-Style Browser added
[color=#FF0000:1de4l77w]New [/color:1de4l77w]Underline added
[color=#FF0000:1de4l77w]Changed [/color:1de4l77w]Text-Size Range 10... |
change font for TXBrowse() | Hi,
I am trying to change font in XBrowse, allowing the user to change it in runtime. In listbox I did:
oBrowse:Selfont()
oBrowse:Refresh()
But It does not work. Also I have tried:
LOCAL oFont
DEFINE FONT oFont FROM USER
oBrowse:Setfont(oFont)
oBrowse:Refresh()
and it does not work too. How can i do it?. Thank... |
change font for TXBrowse() | Local oFont
DEFINE FONT oFont NAME "Arial" SIZE 0, -8 BOLD
...
oCol := oBrw:AddCol()
oCol:bStrData := { || _FIELD->First}
oCol:cHeader := "First"
oCol:oDataFont := oFont |
change font for TXBrowse() | Thanks, but I want that the user can change the font during the program execution. |
change font for TXBrowse() | Please, any advice!!!!!!!!!!. Thank you. |
change font for TXBrowse() | Edu,
We are going to build a sample for you |
change font for TXBrowse() | Edu,
Please add this new method to Class TXBrowse:
[code:b5ezxyqx]
METHOD SelFont() CLASS TXBrowse
local oFont, n
DEFINE FONT oFont FROM USER
for n = 1 to Len( ::aCols )
::aCols[ n ]:oDataFont = oFont
next
::Refresh()
return... |
change font header on line | [img:1k48aaiz]https://i.postimg.cc/br10HjnB/header-browse.jpg[/img:1k48aaiz]
I have a combobox for each column of the xbrowse and where I search for the information
I would like to bold a column header when I select the corresponding column in the combobox,
when I change column the previous one must ... |
change font to ALL dialogs | Hi,
Is possible to change font and size for ALL Dialogs defined as RESOURCE in runtime for ALL?.
Thanks,
<!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D --> |
change font to ALL dialogs | Any clue? |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.