Search found 14 matches: nnewwidth

Return to advanced search

Re: "Snap" for Clipper

... 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 ?)    WINDOW.PRG     3967  3986 NNOTIFYCODE            WINDOW.PRG ...
by Antonio Linares
Sat Oct 26, 2013 9:44 am
 
Forum: Off Topic / Otros temas
Topic: "Snap" for Clipper
Replies: 7
Views: 6688

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

... 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 I couldn't find any Logic, ...
by ukoenig
Mon May 09, 2011 9:31 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Some Problems using < TScrWnd():New(.. >
Replies: 0
Views: 333

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: 1488

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: 1753

BtnBmp from resource, how to resize at runtime ?

... := "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: 604

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: 1387

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: 656

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: 815

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: 2542

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: 928

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: 1937

... que puedes usarlas para cambiar esos valores: WndTop( hWnd [, nNewTop ] ) --> nTop WndLeft( hWnd [, nNewLeft ] ) --> nLeft WndWidth( hWnd [, nNewWidth ] ) --> nWidth WndHeight( hWnd [, nNewHeight ] ) --> nHeight Antonio, muchas gracias, es lo que necesitaba.
by wmormar
Sat Aug 30, 2008 1:21 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: coordenadas de ventanas (SDI, MDI)
Replies: 5
Views: 973

... que puedes usarlas para cambiar esos valores: WndTop( hWnd [, nNewTop ] ) --> nTop WndLeft( hWnd [, nNewLeft ] ) --> nLeft WndWidth( hWnd [, nNewWidth ] ) --> nWidth WndHeight( hWnd [, nNewHeight ] ) --> nHeight
by Antonio Linares
Fri Aug 29, 2008 10:43 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: coordenadas de ventanas (SDI, MDI)
Replies: 5
Views: 973

... METHOD New( aRect, cName, lClient, oWnd, lMax ) CONSTRUCTOR METHOD SetRect( aRect, oWnd ) METHOD GetRect( ) METHOD nWidth( ) METHOD _nWidth( nNewWidth ) METHOD nHeight( ) METHOD _nHeight( nNewHeight ) METHOD Changed( aRect ) METHOD Resized( aRect ) METHOD Move( nTop, nLeft, oWnd ) METHOD ...
by xhbcoder
Sun May 04, 2008 8:46 pm
 
Forum: FiveWin for CA-Clipper
Topic: Converting POS application to xHarbour + FWH
Replies: 50
Views: 15559

Return to advanced search