Merhaba Ziyaretçi, eğer bu ilk ziyaretin ise aramıza katılmak için Üye Olmalısın!
  • Giriş:

PyThoN-S60.CoM | Mobil Python Programlama'e hoşgeldiniz.

+ Konuyu Cevapla
Toplam 7 sonuçtan 1 ile 7 arasındakiler gösteriliyor.
Yapımcı : watt Görüldüğü gibi appuifw.query yerine kullanabiliecğimiz bir text alanı modülüdür. txtfield_by_watt_OS7-8-8.1.png Önizlemedeki Dosya Yönetici Font ve Modül : txtfield_by_watt_OS7-8-8.1.zip Sadece Modül En Altta Apileri : Kod: int LoadFont(filename) load the font in your
  1. #1
    Admin - ait Kullanıcı Resmi (Avatar)
    Admin isimli Üye şimdilik offline konumundadır Ülke Bayrağı by MeHMeT a.k.a MaRZoCHi Admin is on a distinguished road
    Üyelik tarihi Üyelik tarihi
    Jun 2009
    Nereden Nereden
    Samsun, Turkey
    Mesajlar Mesajlar
    3,192
    Teşekkürler Teşekkürler
    1,386
    Aldığı Teşekkürler Teşkkürleri M/T
    453/1,333
    Blog Entries
    47

    English Txtfield.pyd - v.1.0

    Yapımcı : watt

    Görüldüğü gibi appuifw.query yerine kullanabiliecğimiz bir text alanı modülüdür.

    txtfield_by_watt_OS7-8-8.1.png

    Önizlemedeki Dosya Yönetici Font ve Modül : txtfield_by_watt_OS7-8-8.1.zip


    Sadece Modül En Altta


    Apileri :

    Kod:
     
    int LoadFont(filename)
    load the font in your system
    filename- path 
    return value- identifier font (used in the method RemoveFont to remove the font from the system), IF = 0 font will not be removed and will hang in the system until the next reboot.
    DO NOT use the fonts with the internal names at the system
     
    Sample:
    txtfield.LoadFont(u'e:\\myfont.gdr') 
    ####################
    RemoveFont(id) unload the font from the system
    ####################
    ShadowVector(x,y) to install the vector of shadow
     
    Sample:
    txtfield.ShadowVector(-1,3)
    ####################
    object New((rect) [,strlimit=0, txtlimit=0, cornertype= ECornerSquare, cornerflag=None, editorflag=None, picalign=EPicBaseLine])
    ----
    rect-(x1, y1, x2, y2) coordinates of the window x1 и y1 - upper-left, x2 и y2 - lower-right
    ----
    strlimit- allowable number of rows, the default is not limited
    ----
    txtlimit- maximum number of characters, default is not limited
    ----
    cornertype- rounded corners, allowable values:
    ECornerSquare
    ECorner1
    ECorner2
    ECorner5
    ----
    cornerflag- some corners are not rounded
    ENotTL- upper-left
    ENotTR- upper-right
    ENotBL- lower-left
    ENotBR- lower-right
    ----
    editorflag:
    EDisplayOnly- not responding 
    EAlwaysShowSelection- by changing the focus selection is not removed
    EReadOnly- read only
    ENoLineBreaks- not allow a line break
    EDisableCursor- hide cursor
    ----
    picalign- alignment of images on the text:
    EPicBaseLine- through text
    EPicBottom- on bottom
    EPicCentered- center
    EPicTop- on top
    >>Sample:
    txt=txtfield.New((20,120,156,200),cornertype= txtfield.ECorner2,  cornerflag= txtfield.ENotTL | txtfield.ENotBR, editorflag= txtfield.EAlwaysShowSelection | txtfield.EReadOnly)
    >>Minimum configuration:
    txt=txtfield.New((20,120,156,200))
    =========methods==========
    move(MovementType [,pix=20]) moving text
    MovementType
    ----
    EFLeft- left to right
    ----
    EFRight- right to left
    ----
    EFLineUp- text line down 
    ----
    EFLineDown- text to line up
    ----
    EFPageUp- page top
    ----
    EFPageDown- page down
     
    (int)pix- optional parameter indicates how many pixels to move the text with horizontal scrolling
    ==========================
    align(Alignment) text alignment
    Alignment:
    ----
    ELeftAlign- the left edge
    ----
    ETopAlign- по верху
    ----
    ECenterAlign- center
    ----
    ERightAlign- the right edge
    ----
    EBottomAlign- по низу
    ----
    EJustifiedAlign
    ----
    EUnspecifiedAlign- without alignment
    ==========================
    setpos(x,y) establish a new position of the window
    ==========================
    setsize(x,y) install the new window size
    ==========================
    setcursor(pos) set the cursor in the position
    ==========================
    clear([pos,len]) clear the text from the position-pos length-len, with no parameters removes all text
    ==========================
    add(text [,select=0]) add text to the current cursor position, select- flag on the text selection, if select=1 inserted text is highlighted
    ==========================
    unicode get()  get the text
    ==========================
    font(fontname [,fontsize]) set the font(fontname) size of fontsize
    ==========================
    txtcolor(color) set the text color in hex format
    ==========================
    bgcolor(color) set background color in hex format
    ==========================
    visible(True or False) show-hide window
    ==========================
    focus(True or False) off-set the focus window
    ==========================
    setimg(img, pos, (x,y)) load picture img(object graphics.Image.open) the position-pos size of (x,y)
    ==========================
    shadow(size) add a shadow to the window in the size
    ==========================
    select(start,end) highlight text: start-start of a selection of 0-position, end- end of selection of the 0-position
    ==========================
    clipboard(True or False) if True- paste, if False- copied to the clipboard the selected text
    ==========================
    ((len,position,isfocus,piccount,wordcount)) info() 
    return:
    len- text length
    position- current cursor position
    isfocus- True-if the window is in focus or False-if no 
    piccount- number of images
    wordcount- number of words
    Eklenmiş Dosyalar
    Konu Admin tarafından (10-04-23 Saat 11:39 AM ) değiştirilmiştir.

  2. Admin Adlı Üyeye Bu Mesajı İçin Teşekkür Eden 4 Kişi:
    By aLFoNSo, Ertin, kalpsiz_soldier, proftanju

  3. #2
    Admin - ait Kullanıcı Resmi (Avatar)
    Admin isimli Üye şimdilik offline konumundadır Ülke Bayrağı by MeHMeT a.k.a MaRZoCHi Admin is on a distinguished road
    Üyelik tarihi Üyelik tarihi
    Jun 2009
    Nereden Nereden
    Samsun, Turkey
    Mesajlar Mesajlar
    3,192
    Teşekkürler Teşekkürler
    1,386
    Aldığı Teşekkürler Teşkkürleri M/T
    453/1,333
    Blog Entries
    47

  4. #3
    Üyelik tarihi Üyelik tarihi
    Nov 2009
    Mesajlar Mesajlar
    51
    Teşekkürler Teşekkürler
    6
    Aldığı Teşekkürler Teşkkürleri M/T
    5/13

    Standart

    Bu benim işime yaradığı kadar kimsenin işine yararmaz.
    O ŞİMDİ ASKER......

  5. #4
    Üyelik tarihi Üyelik tarihi
    Feb 2010
    Mesajlar Mesajlar
    20
    Teşekkürler Teşekkürler
    0
    Aldığı Teşekkürler Teşkkürleri M/T
    0/0

    Standart

    thanks admin for the good codec

  6. #5
    Admin - ait Kullanıcı Resmi (Avatar)
    Admin isimli Üye şimdilik offline konumundadır Ülke Bayrağı by MeHMeT a.k.a MaRZoCHi Admin is on a distinguished road
    Üyelik tarihi Üyelik tarihi
    Jun 2009
    Nereden Nereden
    Samsun, Turkey
    Mesajlar Mesajlar
    3,192
    Teşekkürler Teşekkürler
    1,386
    Aldığı Teşekkürler Teşkkürleri M/T
    453/1,333
    Blog Entries
    47

  7. #6
    Üyelik tarihi Üyelik tarihi
    Dec 2009
    Nereden Nereden
    KIRKLARELİ
    Mesajlar Mesajlar
    471
    Teşekkürler Teşekkürler
    149
    Aldığı Teşekkürler Teşkkürleri M/T
    2/8

    Standart

    Alıntı Admin Nickli Üyeden Alıntı Mesajı göster
    Hoşgeldin Tanju bitti değil mi askerlik ?

    Yeni proje ne acaba ? Yoksa Dosya Kontrol'a Devam mı?
    ah şuna bi çeki-düzen verilse millet x-plore'yi unutur be...
    Gerçekten hız ve dosya ilişkileri düzenlenmeli..

  8. #7
    Admin - ait Kullanıcı Resmi (Avatar)
    Admin isimli Üye şimdilik offline konumundadır Ülke Bayrağı by MeHMeT a.k.a MaRZoCHi Admin is on a distinguished road
    Üyelik tarihi Üyelik tarihi
    Jun 2009
    Nereden Nereden
    Samsun, Turkey
    Mesajlar Mesajlar
    3,192
    Teşekkürler Teşekkürler
    1,386
    Aldığı Teşekkürler Teşkkürleri M/T
    453/1,333
    Blog Entries
    47


 

Bu Konuyu Paylaşın !

Bu Konuyu Paylaşın !

Yetkileriniz

  • Konu Acma Yetkiniz Yok
  • Cevap Yazma Yetkiniz Yok
  • Eklenti Yükleme Yetkiniz Yok
  • Mesajınızı Değiştirme Yetkiniz Yok

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160