Home > Archive > Programming with dBASE > December 2005 > Form with no Title bar









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Form with no Title bar
Brian Johnson

2005-12-21, 7:23 am

Hi

Does anyone know how I can produce a form without any top title bar?

Brian Johnson


4m

2005-12-21, 7:23 am

Hi

class MyForm of FORM
with (this)
sizeable = false
moveable = false
sysMenu = false
escExit = false
maximize = false
minimize = false
endwith

Etienne Gounon

"Brian Johnson" < councilsoftware@tisc
ali.co.uk> a écrit dans le message
news: #PzGgThBGHA.1448@news-server...
> Hi
>
> Does anyone know how I can produce a form without any top title bar?
>
> Brian Johnson
>
>



Todd Kreuter

2005-12-21, 7:23 am

Brian Johnson wrote:
>
> Does anyone know how I can produce a form without any top title bar?



There is a file in the dUFLP, winattr.cc I think, that will allow you to
do this.

--
Todd Kreuter [dBVIPS]
rb

2005-12-21, 7:23 am

HI Brian,
Depending on what you want. But remember that you must be able to close the
form, otherwise the user wo'nt be able to close it as there is no way of
doing this via the normal windows sysmenu

** END HEADER -- do not remove this line
//
// Generated on 21/12/2005
//
parameter bModal
local f
f = new testForm2()
if (bModal)
f.mdi = false // ensure not MDI
f.readModal()
else
f.open()
endif

class testForm2 of FORM
with (this)
height = 15.0
width = 71.5714
mdi = false
showTaskBarButton = false
sizeable = false
moveable = false
sysMenu = false
escExit = false
maximize = false
minimize = false
endwith
endclass


Robert


"Brian Johnson" < councilsoftware@tisc
ali.co.uk> wrote in message
news:#PzGgThBGHA.1448@news-server...
> Hi
>
> Does anyone know how I can produce a form without any top title bar?
>
> Brian Johnson
>
>



Roland Wingerter

2005-12-21, 7:23 am

"4m" wrote

>
> class MyForm of FORM
> with (this)
> sizeable = false
> moveable = false
> sysMenu = false
> escExit = false
> maximize = false
> minimize = false
> endwith

-------
Interesting solution.

Add mdi = false and call the form with readModal().

Thanks

Roland


Denis Finch

2005-12-21, 9:23 am

I use alot subforms in my programs where I don't want the form to look like
a form so here is the code I use.

function form_onOpen
set procedure to :classes:winAttr.cc additive

// deal with Window attributes here:
oWinAttr = new WinAttr(form)
oWinAttr.MinButton(false)
oWinAttr.MaxButton(false)
oWinAttr.DlgFrame(false)
oWinAttr.Border(false)
oWinAttr.ThickFrame(false)
oWinAttr.SysMenu(false)

close procedure :classes:winAttr.cc

"Brian Johnson" < councilsoftware@tisc
ali.co.uk> wrote in message
news:%23PzGgThBGHA.1448@news-server...
> Hi
>
> Does anyone know how I can produce a form without any top title bar?
>
> Brian Johnson
>
>



Brian Johnson

2005-12-22, 3:23 am

Hi
Thank you one and all.

Happy Christmas & a Merry (and profitable) new year.

Brian


"Brian Johnson" < councilsoftware@tisc
ali.co.uk> wrote in message
news:%23PzGgThBGHA.1448@news-server...
> Hi
>
> Does anyone know how I can produce a form without any top title bar?
>
> Brian Johnson
>
>



Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2008 droptable.com