Search found 18 matches: nnewheight

Return to advanced search

Re: GdiPlus

Mr. Rao, THanks a lot for your suggestion. After line 2 I got an error : "Invalid image". Another problem: in the first line there are nNewHeight and nNewWitdth. But I need to know the height and width of the original image first. Then I have to calculate the new value by adding a percentage. ...
by driessen
Fri Aug 23, 2024 9:11 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: GdiPlus
Replies: 12
Views: 2090

Ayuda con apariecia y tamaño deL COMBOBOX

... lado quisiera que el combo aparezca exactamente del mismo tamaño que los get. He probado con HEIGHTGET , SELHEIGHT, oCbx:nSelectionHeight := <nNewHeight> y no funciona. Lo he logrado reducir cambiando el tamaño de la fuente del control (oCbx:SetFont(oFontCbx) ) pero creo que debería haber ...
by JoseAlvarez
Mon Apr 19, 2021 1:54 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ayuda con apariecia y tamaño deL COMBOBOX
Replies: 8
Views: 950

Re: COMBOBOX HEIGHTGET is not working? *Solved*

On resource, try

ACTIVATE DIALOG oDlg ON INIT oCbx:nSelectionHeight := <nNewHeight>
by MOISES
Wed May 20, 2020 1:48 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: COMBOBOX HEIGHTGET is not working? *Solved*
Replies: 11
Views: 1940

Re: Question about ComboBox

Mr Rao,
A small problem with SendMessage( oCbx:hWnd, 0x0153, -1, nNewHeight ),combobox be blue colored background on init .
Image
Regards!
Shuming Wang
by ShumingWang
Thu Aug 17, 2017 7:15 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Question about ComboBox
Replies: 12
Views: 2078

Re: "Snap" for Clipper

...                    WINDOW.PRG      637   638   737   738   807   808  3827! 3836 NNEW                    WINDOW.PRG      916   916   917   917 NNEWHEIGHT              WINDOW.PRG      642  1819  1822 NNEWWIDTH              WINDOW.PRG      727  1857  1860 NNOT()                 (function  in ...
by Antonio Linares
Sat Oct 26, 2013 9:44 am
 
Forum: Off Topic / Otros temas
Topic: "Snap" for Clipper
Replies: 7
Views: 8645

Some Problems using < TScrWnd():New(.. >

... oScroll := TScrWnd():New(oDlg, 1, nDlgH, 1, nDlgW) // Dialog-size In Relation to the Image-size, I used a Factor to adjust the Thumb-pos like : If nNewHeight >= 760 .or. nNewWidth >= 760 // image-size oScroll:SetScroll( 1, 9 , 1, 12 ) Endif This sample shows the Thumb on Image-bottom. Because ...
by ukoenig
Mon May 09, 2011 9:31 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Some Problems using < TScrWnd():New(.. >
Replies: 0
Views: 347

Re: How to Resize Button in program?

Dutch,

oButton:SetSize( nWidth, nHeight [, lRepaint ] )

or:

oButton:nWidth := nNewWidth
oButton:nHeight := nNewHeight
by Antonio Linares
Mon May 17, 2010 9:40 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to Resize Button in program?
Replies: 11
Views: 1784

Re: How to resize a bitmap ?

bmpResized := ResizeBmp( hOldBmp, nNewWidth, nNewHeight ) Maybe a possible solution, to use StretchBlt() for the new Brush-functions in FWH-9.06, to get the Image-Brush adjusted to the Dialog ??? The ResizeBmp function internally uses StretchBlt(). ...
by nageswaragunupudi
Tue Jul 14, 2009 1:33 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to resize a bitmap ?
Replies: 8
Views: 1920

BtnBmp from resource, how to resize at runtime ?

... oFont1 ; RIGHT oBtn1:lTransparent = .t. oBtn1:cTooltip := "Button1" That doesn't work !!! --------------------------- obtn1:nHeight := nNewheight // User defined oBtn1:nWidth := nNewWidth Regards Uwe :lol:
by ukoenig
Tue May 05, 2009 6:07 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: BtnBmp from resource, how to resize at runtime ?
Replies: 3
Views: 654

Re: How to resize a listbox

Otto,

You can use:

oControl:SetSize( nWidth, nHeight [, lRepaint ] )

or

oControl:nHeight = nNewHeight
oControl:nWidth = nNewWidth
by Antonio Linares
Sun Apr 05, 2009 8:56 am
 
Forum: FiveWin for Pocket PC
Topic: How to resize a listbox
Replies: 8
Views: 1693

Re: Rezise Bitmaps

Silvio,

It is is a bitmap control then you can do:

oBmp:SetSize( nNewWidth, nNewHeight )

to know its dimensions:

oBmp:nWidth
oBmp:nHeight

or is it a bitmap that you are managing in memory (and not a visible control) ?
by Antonio Linares
Mon Jan 26, 2009 9:16 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Rezise Bitmaps
Replies: 4
Views: 712

Re: multi thread vs no modal dialog ?

Shuming,

You can do:

oDlg:nTop = nNewTop
oDlg:nLeft = nNewLeft
oDlg:nWidth = nNewWidth
oDlg:nHeight = nNewHeight
by Antonio Linares
Sun Jan 11, 2009 11:06 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: multi thread vs no modal dialog ?
Replies: 4
Views: 854

JM,

oDlg:SetSize( nWidth, nHeight )

o por separado:

oDlg:nWidth = nNewWidth
oDlg:nHeight = nNewHeight
by Antonio Linares
Sun Dec 14, 2008 6:46 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: se puede poner un scroll a un dialogo?
Replies: 13
Views: 2912

Gustavo,

oDlg:SetSize( nNewWidth, nNewHeight )

or simply:

oDlg:nWidth := ...
oDlg:nHeight := ...

With oDlg:SetSize() you do it in one single step.
by Antonio Linares
Wed Nov 26, 2008 10:08 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Can a dialog be resized ?
Replies: 4
Views: 1050

You may use oPrinter:SetSize( nNewWidth, nNewHeight )
by Antonio Linares
Thu Oct 02, 2008 9:00 am
 
Forum: FiveWin for CA-Clipper
Topic: Changer d'impromante automatique
Replies: 5
Views: 2090
Next

Return to advanced search