Arsip: gimana cara supaya TITLE BAR tidak bisa bisa di drag ?

 
user image
more 14 years ago

arjuna_1982

mohon bantuananya kpd teman2.. da yang tahu g'? gimana caranya supaya title bar pada form tidak bisa di drag,jadi simplex supaya form itu hanya pada satu tempat/posisi? dan form ini stylex :FsMdiChild; TKYU S much
user image
more 14 years ago

skh_cay

coba code berikut : procedure TForm1.WMNCHitTest(var Msg: TWMNCHitTest) ; begin inherited; if Msg.Result = htClient then Msg.Result := htCaption; end; end. NB : prosedure tersebut di letakkan di type private.
user image
more 14 years ago

arjuna_1982

g' ngefek mas... titlebar masih bs dipindah2...
user image
more 14 years ago

luckynvic

@ksy_cay:
if Msg.Result = htClient then Msg.Result := htCaption;
menurutku kebalik bang, justru code itu untuk membuat form dapat di drag selain caption... coba dibalik if Msg.Result = htCaption then Msg.Result := htClient ; bisa ngak?? : :idea:
user image
more 14 years ago

arjuna_1982

iya... udah sy coba... kmrn2... baru bisa... tkyu
more ...
  • Pages:
  • 1
Share to

Random Topic

Local Business Directory, Search Engine Submission & SEO Tools FreeWebSubmission.com SonicRun.com