| Reply | « Previous Thread | Next Thread » |
|
Hi there !
![]() My app have multiple tabs, each 'owning' a Text object. My app is something like a multhreaded syslog server, asynchronously updating the tabs. My problem is that when I add text to a Text object, which is not 'visible' (app.body != Text), it gain focus and appears... It's really annoying. Am I missing something ? ![]() In a world without Walls nor Windows, who need Gates ? |
|
Quote:
it will be easy to help you if you put some light on the coding you are implementing. Regards Chintan |
|
The code is trivial. There's 1 Listbox + n Text object. The tab handler take care of attributing app.body to the current tab:
Code:
bodies = [ Listbox(), Text(), Text() ]
def tab_handler(i):
app.body = bodies[i]
Switching from a Text to a Listbox while text is added continue to draw on screen : it seems more like a refresh problem. Here's a picture. In a world without Walls nor Windows, who need Gates ?
Last edited by nono240 : 2008-09-26 at 14:57.
|
|
hi nono240
Not sure but i feel when you do not need to display text continuously you can add the text to a variable and display it to the tab only when needed. Thus the text is added to variable not to object directly. Regards Chintan |
|
Quote:
![]() In a world without Walls nor Windows, who need Gates ? |
|
Quote:
![]() well i feel then you should try some string formatting method while adding data. ![]() Hope it will work. Regards Chintan Umraliya |
|
What string formating have to do with my problem ? The visual inefficiency I talked about is that adding text stored in a variable when tabs is displayed is NOT a great visual effect when there's a lot of text to add !
I'd prefer adding text as it arrives. But there's defect in display (see picture link above). In a world without Walls nor Windows, who need Gates ? |
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|
| Rate This Thread | |
| Thread | Thread Starter | Forum | Replies | Last Post |
|---|---|---|---|---|
| Text Field Focus Problem with J2me(j2me Polish) | pollux.java | Mobile Java Networking & Messaging & Security | 1 | 2008-05-04 17:03 |
| javascript set focus to input text box ?? | zaponjanx | Browsing and Mark-ups | 5 | 2008-03-12 10:52 |
| Problems when changing text in edwin while in FEP transaction | thedawn1977 | Symbian User Interface | 1 | 2007-09-07 16:38 |
| CEikEdwin in CAknDialog (Text Menu) | grapentin | Symbian User Interface | 0 | 2007-03-22 10:47 |
| Can we set textbox focus to the last character? | dhanyap | Mobile Java General | 1 | 2006-11-17 08:07 |