Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Invalid tab in combo box
#6
I want to use underscores, realization similar Tab alignment effect
[Image: 1.png]

This needs to determine the number of letters and numbers

control the number of underscores

What functions need to use?

Or is there any other similar solution? Any suggestions are welcome. Thanks in advance


I can use the following method(Add space) to achieve the effect of alignment in JAVA
How to realize it in qm2?

System.out.printf("%10s%10s%10s",s1,s2,s3);


Macro add tab
Code:
Copy      Help
s=
;ke-48=text0
;cm-291=text6
;win-26=test8
;wib-262=test7
;ww-28=test4

ARRAY(str) a=_s

for int'i 0 numlines(_s)
,a[i].findreplace("-" "__")
,a[i].findreplace("=" "__")
,out a[i]

str s=a

str dd=
;BEGIN DIALOG
;0 "" 0x90C80AC8 0x0 0 0 224 136 "Dialog" "4"
;3 ComboBox 0x54230641 0x0 12 8 96 114 ""
;1 Button 0x54030001 0x4 116 116 48 14 "OK"
;2 Button 0x54030000 0x4 168 116 48 14 "Cancel"
;END DIALOG
;DIALOG EDITOR: "" 0x2040A00 "*" "" "" ""

str controls = "3"
str cb3
cb3=s
if(!ShowDialog(dd 0 &controls)) ret



Messages In This Thread
Invalid tab in combo box - by macman - 01-14-2021, 08:09 AM
RE: Invalid tab in combo box - by Gintaras - 01-14-2021, 08:17 AM
RE: Invalid tab in combo box - by macman - 01-14-2021, 08:39 AM
RE: Invalid tab in combo box - by Gintaras - 01-14-2021, 12:14 PM
RE: Invalid tab in combo box - by macman - 01-14-2021, 11:16 PM
RE: Invalid tab in combo box - by macman - 01-15-2021, 01:44 AM
RE: Invalid tab in combo box - by Gintaras - 01-15-2021, 06:21 AM
RE: Invalid tab in combo box - by Gintaras - 01-15-2021, 06:25 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)