US Medical Forum

US Medical Forum



SearchSearch   Users   Registration   Entrance
Today: 27.01.2026 - 01:23:16
Pages:  1  

WDL-OL TEXT ENTRY

MessageAuthor

I try since few days of using an text entry with WDL-OL without success... I tried to modify a lot the IPLUGMultiTarget example. It works with values, but no succes to modify an existing text. My goal is to have un text entry with an default value, and be able to modify it. I plan to use it to enter an IPV4 address. So from the default address would be : 127.0.0.1 and I would like to modify it to 192.168.11.34 Any help would be nice from some of you. Best regards.




SAFROLE

Optimist


Statistics:
Messages: 10
Registration: 02.26.2001
Rating:
28.06.24 - 20:28:31
Message # 1
RE: WDL-OL TEXT ENTRY

post your code




m3fordcord

Optimist


Statistics:
Messages: 69
Registration: 09.09.2001
Rating:
28.06.24 - 20:39:31
Message # 2
RE: WDL-OL TEXT ENTRY

the question is simple... Is there into the classes of wdl-ol a simple way of using an entry text ? My code will be open source when I will decide it runs well. Thanks.


------------------------------------------
'99 Estoril Blue + Dove Grey ///M3 coupe '04 Jet Black + Cinnamon ///M3 coupe

jvit27

Optimist


Statistics:
Messages: 6,599
Registration: 03.02.2001
Rating:
28.06.24 - 20:48:35
Message # 3
RE: WDL-OL TEXT ENTRY

you need to create a custom IControl to do this. There is one in the IPlugEEL example that does what you want. Code:




bigmansM

Optimist


Statistics:
Messages: 3,261
Registration: 12.16.2002
Rating:
28.06.24 - 20:53:09
Message # 4
RE: WDL-OL TEXT ENTRY

Nice. Thank you very much. I have to spend more time with the understanding of the WDL-OL classes. Best Regards




tannad

Optimist


Statistics:
Messages: 225
Registration: 10.04.2002
Rating:
28.06.24 - 20:57:32
Message # 5
RE: WDL-OL TEXT ENTRY

I implemented this control and i found two problems 1. The text is not centered vertically and i can't figure out how to put it at the left of the IRECT 2. How can i get the text of this control if i have a pointer to it? Which function should i call?




Captain Drifto

Optimist


Statistics:
Messages: 4,682
Registration: 12.04.2003
Rating:
28.06.24 - 21:04:14
Message # 6
RE: WDL-OL TEXT ENTRY

Bump bump. The method in my post above works fine in Live, but in Reaper the background of the text entry is black no matter what I set BGColor (and FGColor) in the IText to. Does anyone have a more elegant solution for text entry? Here's my code: Code:


------------------------------------------
97 Alpinweiss M3/4 5spd Tho' much is taken, much abides; and tho' We are not now that strength which in old days Moved earth and heaven, that which we are, we are, One equal temper of heoric hearts, Made weak by time and fate, but strong in will To s

Texas M3/4

Optimist


Statistics:
Messages: 515
Registration: 02.27.2001
Rating:
28.06.24 - 21:12:54
Message # 7
RE: WDL-OL TEXT ENTRY

what operating system are you using? think I have some fixes for coloured text entry boxes


------------------------------------------
Race/Street Wheel stud conversion kits and spacers --->www.MotorsportHardware.com 95 M3 7.1L LSX

kalib0y

Optimist


Statistics:
Messages: 2,982
Registration: 06.13.2001
Rating:
28.06.24 - 21:19:28
Message # 8
RE: WDL-OL TEXT ENTRY

The only way to center text vertically with iplug is to modify quite a bit of code in IGraphics.cpp In IGraphics::DrawIText at line 1105 i added: Code:




VandyS4

Optimist


Statistics:
Messages: 649
Registration: 12.20.2003
Rating:
28.06.24 - 21:29:06
Message # 9
RE: WDL-OL TEXT ENTRY

BTW I pushed this change into Youlean repository, i don't know if I have to push this into Oli's too because he's going under heavy refactoring... Saverio




Keda

Optimist


Statistics:
Messages: 2,473
Registration: 09.03.2001
Rating:
28.06.24 - 21:36:12
Message # 10
RE: WDL-OL TEXT ENTRY
Pages:  1  

The administrator has prohibited guests from replying to messages! To register, follow the link: register


Participants

Powered: XenForo 6.7.2