| Reply | « Previous Thread | Next Thread » |
|
Hi All,
I've a text field in a form: Code:
self._iFields = [(u'Height','text',u'3.8')] Thanks ![]() |
| Vik The Red |
| View Public Profile |
| Find all posts by Vik The Red |
|
Join Date: Oct 2007
Posts: 2,841
Location: Deva, Romania
Offline
Forum Nokia Champion
|
|
In order to check if something is of a certain type, use the isinstance function. For example:
Code:
>>>p=1.45 >>>print isinstance(p, int) False >>>print isinstance(p, float) True |
|
Hey Thanks
![]() |
| Vik The Red |
| View Public Profile |
| Find all posts by Vik The Red |
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|
| Rate This Thread | |
| Thread | Thread Starter | Forum | Replies | Last Post |
|---|---|---|---|---|
| second form not getting key events | krsunil | Symbian User Interface | 3 | 2008-12-10 11:29 |
| Form troubles | matdodgson | Symbian User Interface | 2 | 2008-12-06 11:49 |
| Weird Form behaviour on N73 | Damo2k | Mobile Java Tools & SDKs | 2 | 2008-02-21 16:43 |
| problems in creating multipage form | A.Vogel | Symbian User Interface | 0 | 2007-10-02 09:16 |
| Form Validation | divyas | Mobile Java General | 2 | 2006-05-23 13:06 |