Guidance
指路人
g.yi.org
Guidance Forums / Rapid-Q Basic / multiline QRichEdit height problem

Register 
注册
Search 搜索
首页 
Home Home
Software
Upload

  
Forum List • Thread List • Reply • Refresh • New Topic • Search • Previous • Next First 1 Last
Message1. multiline QRichEdit height problem
#972
Posted by: 2003-06-02 18:11:47
I need a multiline QRichEdit box, setting it up with;

Dim Komm as QRichEdit
  Komm.Top = 32
  Komm.Left = 570
  Komm.Parent = Form
  Komm.Width = 220
  Komm.ScrollBars = ssBoth
  for x=1 to 7
    a$ = La$(x) + " : "
    Komm.Addstring a$
    a$ = ""
    Komm.Addstring a$
  next x
  Komm.TabOrder = 99

My problem is that I can't get the dang thing high enough, .Heigth doesn't work somehow :( HELP MEEEEEEEEEEEEEEEEEEEEEEEE please?

Message2. Re: multiline QRichEdit height problem
#973
Posted by: guidance 2003-06-02 18:58:13
These examples help?

http://g.yi.org/_scripts/search.php?search=richedit.height&submit=Page+Search&a=q&page=1
Message3. Re: multiline QRichEdit height problem
#974
Posted by: 2003-06-03 03:40:55
When I put the line

  Komm.Heigth = 120

in the compiler gives this error:

 ERROR: Member HEIGTH not part of class KOMM

according to the documentation it IS though.

So how the ******* do I change the heigth ?  :(



Oh, and   Komm.ScrollBars = 2  gives just the vertical scrollbar (the documentation lacked that bit of info).
Message4. Re: multiline QRichEdit height problem
#975
Posted by: 2003-06-03 03:45:51
oh CRUD, I am SO stupid! its HEIGHT and I kept typing HEIGTH in the listing

sorry :(
Message5. Re: multiline QRichEdit height problem
#976
Posted by: guidance 2003-06-03 10:08:47
The scrollbars option definitions should be in Rapidq.inc:
http://g.yi.org/_scripts/file.php?f=283&r=2330
Forum List • Thread List • Reply • Refresh • New Topic • Search • Previous • Next First 1 Last
掌柜推荐
 
 
¥477.00 ·
 
 
¥918.00 ·
 
 
¥370.00 ·
 
 
¥271.00 ·
 
 
¥995.00 ·
 
 
¥1,580.00 ·
© Sun 2024-11-24  Guidance Laboratory Inc.
Email:webmaster1g.yi.org Hits:0