Avatar billede msat Nybegynder
02. februar 2006 - 10:35 Der er 3 kommentarer og
2 løsninger

xml connector & textarea

Hello everybody!
I have a project where I use an xml connector with some textarea component. it works fine but I have a problem. I need the text area to be invissible and only the text that comes into it from an xml file should be vissible so I can see the background under the text.
I can achieve that with "myTextarea.setStyle ("borderStyle", 0);" but then I can only see 2 lines of the text in the text area and only in the left upper corner of the textarea. it's not using the whole textarea area.
I tried to use a dynamic textfield instead of the textarea component but it doesn't support bindings.
my question is:
1. is there any way to make the textarea component transparent or any other component for that matter?
2. any way to code bindings support for a dynamic textfield?

Thanks in advance!
Best regards, Marius
Avatar billede msat Nybegynder
02. februar 2006 - 13:55 #1
Found a solution:
myTextArea._alpha = 0;
that solves the transparency problem but it cancels the scroll functionality.
I've coded a custom scroll to it but it has a very delayed response.
Anybody knows why? it waits for about 3 sec before it starts scrolling.

Best regards, Marius
Avatar billede msat Nybegynder
03. februar 2006 - 09:14 #2
done
Avatar billede msat Nybegynder
03. februar 2006 - 09:15 #3
problem solved
Avatar billede maqhem Nybegynder
03. februar 2006 - 16:02 #4
remember to accept your own answer ;)
Avatar billede msat Nybegynder
03. februar 2006 - 21:53 #5
I do but nothing happens every time I click accept. the same page gets loaded
Avatar billede Ny bruger Nybegynder

Din løsning...

Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.

Loading billede Opret Preview
Kategori
IT-kurser om Microsoft 365, sikkerhed, personlig vækst, udvikling, digital markedsføring, grafisk design, SAP og forretningsanalyse.

Log ind eller opret profil

Hov!

For at kunne deltage på Computerworld Eksperten skal du være logget ind.

Det er heldigvis nemt at oprette en bruger: Det tager to minutter og du kan vælge at bruge enten e-mail, Facebook eller Google som login.

Du kan også logge ind via nedenstående tjenester