Jump to content


Photo

Utilizando O Masked Edit


  • Faça o login para participar
16 replies to this topic

#1 Kurt

Kurt

    I'll posses your body and I'll make you burn!

  • Usuários
  • 85 posts
  • Sexo:Não informado
  • Localidade:Há alguns quilômetros de lugar algum
  • Interesses:Visual Basic, banco de dados e AutoCAD

Posted 17/10/2004, 13:18

O Masked Edit é um componente mto util para validar q tipo de caracteres vc ker q o usuario digite em algum campo e tb pode ser usado para criar máscaras, ou seja, exemplificar para o usuario de como deve ser preenchido um devido campo, como de telefone, cpf, etc...
Vc encontra esse componente em Menu>Project>Componentes>Microsoft Masked Edit Controls 6.0.
Vou passar alguns codigos uteis:

-Aceitar apenas números:
No KeyPress do MaskedEdit coloque o codigo:

If KeyAscii >= Asc("0") And KeyAscii <= Asc("9") Or KeyAscii = vbKeyBack Or KeyAscii = Asc(",") Then
Else
If KeyAscii = Asc(".") Then
KeyAscii = Asc(",")
Else
KeyAscii = 0
End If
End If

Obs.: Vale lembrar q a propriedade KeyPreview do formulario TEM q estar True.


-Criando mascaras:
Na propriedade Mask do MaskedEdit vc deve colocar o q vc quer de acordo com a sua necessidade, Exemplo:
Para Telefone, com DDD da cidade: (##)####-####
* Veja q # equivale ao caracter a ser usado.
Para CPF: #########-##
E por ai vai...


- Definindo a propriedade Format:
Essa propriedade valida a forma q vc quer q os caracteres apareçam, podendo escolher entre formato Monetario(R$#,##0.00), dia/mes/ano(dd/mm/aa), horario(hh:mm), etc...


Flw... (y)
Private Sub (Mateus Dias Ribeiro)
If Você é novato Then
Leia as regras Else
Veja isto
End If

End Sub

#2 Sic

Sic

    Meu Reggae é Roots!

  • Usuários
  • 311 posts
  • Sexo:Masculino
  • Localidade:SP - ZL!
  • Interesses:Web, Desenvolvimento, Design, ITIL.<br /><br />Praia, Sol, Surf, Música, Violão e um Forreggae.

Posted 17/10/2004, 14:37

Valeu pelo tutorial kurt!

Um mão na roda pros iniciantes.

Abraços!
Bruno Cesar Dutra - "Mudar é ir Além!"
UbuntuUser - 7.04

Poesias Trash - Idiotice & Conscientização | BlackVistaMod @ Tecnologia

#3 RonsisM

RonsisM

    Super Veterano

  • Usuários
  • 15724 posts
  • Sexo:Masculino
  • Localidade:Plovdiv

Posted 16/09/2017, 07:18

Levitra Withouth Prescription cialis Cialis Online Bestellen Schnell Buy Fluconazole Online Prix Boite Cytotec viagra cialis Keflex And 3rd Trimester
Prezzo Di Propecia online pharmacy Buy Lasix Cheap Legitimate
Propecia Low Price 1 Mg Generic Doryx For Sale
Viagra Pillen Internet <a href=http://cialtobuy.com>cialis</a> Amoxicillin 875 Mg Looks Like

#4 RonsisM

RonsisM

    Super Veterano

  • Usuários
  • 15724 posts
  • Sexo:Masculino
  • Localidade:Plovdiv

Posted 03/10/2017, 10:14

Antibiotics Online Order With Paypal generic viagra Estrace Pills Fast Shipping Biuy Viagra Online Tadalis Sx France
Propecia Liver Damage Metabolized viagra cialis Amoxil Clavulonic Acid
Cialis Generic Best Price Where To Buy Viagra Safely Propecia Minoxidil Hair Follicles buy viagra online Amoxicillin Reaction In Dogs Cytotec Acheter Belgique

#5 RonsisM

RonsisM

    Super Veterano

  • Usuários
  • 15724 posts
  • Sexo:Masculino
  • Localidade:Plovdiv

Posted 05/10/2017, 20:43

Propecia For Hair Loss Keflex Formula cost of levitra at savon pharmacy Tadacip Online Uk Discount Nexium Necesito Tomar Cialis
Propecia Escuelas Propecia Generics viagra Propecia Reverse Hair Miniaturization Temples Kamagra Oral Jelly Test

#6 Miguceamma

Miguceamma

    MiguPenjisse

  • Usuários
  • 13201 posts

Posted 06/10/2017, 11:37

Kamagra Effects Kamagra Sans Ordonnance viagra Vendita Viagra Generico France
Lilly Cialis Online Viagra Cialis Opiniones viagra online pharmacy Diflucan On Amazon

#7 LarPhozyHah

LarPhozyHah

    Super Veterano

  • Usuários
  • 14515 posts
  • Sexo:Masculino
  • Localidade:San Miguel de Tucuman

Posted 09/10/2017, 06:08

Rivaldo Propecia vardenafil hcl 20mg tab Ou Acheter Cialis En Ligne
Dove Comprare Priligy Originale Last Longer Tips viagra Buy Pfizer Brand Viagra Online

#8 Miguceamma

Miguceamma

    MiguPenjisse

  • Usuários
  • 13201 posts

Posted 10/10/2017, 10:10

Medicament Similaire Au Dapoxetine Cialis 20 Pharmacie Dove Comprare Cialis Forum viagra Priligy Posologie Usa No Prescription Generic Viagra Order Diflucan Online Rx Drugs
Buy Azithromycin In Usa Generic Viagra Canada Rx cialis buy online Priligy Works
When Will Alli Be Available Again Order Cialis Online In Canada Reviews buy viagra online Cialis Pharmacy Online

#9 RonsisM

RonsisM

    Super Veterano

  • Usuários
  • 15724 posts
  • Sexo:Masculino
  • Localidade:Plovdiv

Posted 12/10/2017, 20:58

Gleiche Wirkung Wie Levitra Viagra 65 Ans generic levitra professional How Long Does It Take For Zithromax To Cure Chlamydia Rezeptfrei Viagra Hamburg
Buy Misoprostol Tablets Online Cialis 20mg Lilly Acheter Tadalafil Generic Online wheretobuylevitrapills Lasix Pay Online American Express Cialis Testimonio
Cialis Online Prezzi viagra Cialis Kaufen Duisburg Spain Comprar Propecia
Climen No Prescription buy viagra online Is Buying Vigira On Line Safe Provera Cheap Free Shipping How Much Does Viagra Cost Per Pill 337

#10 wapedlok

wapedlok

    24 Horas

  • Usuários
  • 456 posts
  • Sexo:Feminino
  • Localidade:Veley Stream

Posted 17/10/2017, 03:19

Discounts! hair and makeup products progect12.jpg Products which fall under this return policy can be returned domestically, as long as they are unused and in the original packaging. No questions asked! If a product that falls under this guarantee is found to be counterfeit, you will get a full refund (shipping costs included). buy.png READ MORE 1PCS High quality 22MM Nylon Watch band NATO waterproof watch strap fashion wach band - 26 color available ( 3.79 $)V304 high quality fir violin 34 violin handcraft violino musical instruments free shipping ( 140.06 $)JJRC H31 Waterproof Drone ( 28.93 $)Original Elephone ELE Explorer 4K Ultra HD WiFi Action Camera-56.89 $Defeway 8ch 1080n hdmi dvr 1200tvl 720p hd outdoor security camera system 8 channel cctv surveillance dvr kit ahd camera set ( 142.99 $)Vinsic terminator p3 20000mah power bank qc3.0 quick charge 2.4a dual output with type c port for samsung, iphone, xiaomi ( 65.98 $)Ama two tone metallic leather pump ( 330.59 $) Zoe LeeChispaulo brand womens handbags fashion lady real genuine leather bags for women shouldercrossbody messenger crocodile bags x18 ( 266.00 $)Gold glitter slip on sneaker ( 160.48 $) Fratelli RossettiBarber instant hair styling powder 27 5g toppik hair fiber thickening keratin hair fibre spray applicator ( 25.98 $)Cacana stainless steel rings for women slash a line of cz diamond fashion jewelry wholesale no ( 0.79 $)Ophir 2 air brush guns with pro tank air compressor 110v 220v airbrush set for model hobby carcaketoys paint _ac090+004a+006 ( 119.37 $)Kids Cute Ladybird Backpack Pressure Pump Squirt Gun ( $6.03 )Oukitel K6000 Pro Android 6.0 4G Phablet 6000mAh Battery 5.5 inch 2.5D Arc Dragontrail Glass Screen MTK6753 64bit Octa Core 3GB RAM 32GB ROM Press Fingerprint Sensor 16MP Camera 175.39$Trendy high rise zig zag women's strapless bikini set ( 12.61 $) 74.jpg
Discounts! top 5 facial products

progect12.jpg
Products which fall under this return policy can be returned domestically, as long as they are unused and in the original packaging. No questions asked!
If a product that falls under this guarantee is found to be counterfeit, you will get a full refund (shipping costs included).

buy.png

READ MORE
7A Brazilian Virgin Hair 34 bundles With Closure Rosa Hair Products Brazilian Loose Wave With Closure Human Hair Weave Bundles ( 85.81 $)
Stylish striped scoop neck bikini cover for women ( 10.16 $)
Arya Stark Game of Thrones
Fashion Girl Cute Animal Cartoon Face Bag Zip Coin Change Purse Case Polyester Wallet Drop Shipping ( 0.85 $)
Annke 4ch 4 in 1 tvi cctv system hdmi dvr kit 2 pcs 1.0mp outdoor security camera system p2p onvif surveillance dvr kit ( 101.14 $)
Portable shooting rear gun rest bag set front & rear rifle target hunting bench unfilled stand hunting gun accessories ( 22.41 $)
2pcs led car door light logo projector for audi a1 a3 a4 b6 b8 a6 c5 80 a7 q3 q5 q7 tt rs4 rs5 rs6 s4 s5 s6 s7 rs sline ( 13.80 $)
Hot Brazilian Virgin Hair Kinky Curly Virgin Hair 6A Jerry Curly Hair Extension Human Wigs1pcLot or mixed length 2 Bundles Rosa ( 8.20 $)
Pro Leather Mid Canvas and Suede Sneaker ( 71.40 $)
DHD X — RUN C1 Wall Climbing Car Series Mini IR RC Vehicle LED Light 12.39$
Flyco 3D floating head Rechargeable Portable body washable Electric Shaver Led Light Fast Charge Triple Blade barbeador FS376 ( 58.50 $)
Autobot C Car camera DVR Eye Smart Car DVRS WiFi Dash Cam Video Recorder G-Sensor WDR Degree Night Vision Full HD 1080P ( 80.62 $)
Silver midi ring whand ( 93.61 $) Bernard Delettrez
High quality XINDA 25KN Professional Safety Master Lock D Buckle Climbing Lock Carabiner Rock Climbing Buckle Equipment ( 7.33 $)
VCHOK M8 IP68 4G Smartphone-295.96 $


30bb.jpg

#11 qapedlok

qapedlok

    Expert

  • Usuários
  • 509 posts
  • Sexo:Feminino
  • Localidade:Worcester

Posted 24/10/2017, 05:18

Discounts! best industrial design products progect11.jpg Products which fall under this return policy can be returned domestically, as long as they are unused and in the original packaging. No questions asked! If a product that falls under this guarantee is found to be counterfeit, you will get a full refund (shipping costs included). buy.png READ MORE Xmas gift toy bow children kids archery training hunting bow protector arrow ( 113.99 $)Flower Pattern Protective Back Case for iPhone 6 / 6S ( $2.59 )Herobiker bicycle protector warmer boot cover outdoor sports wear bike cycling shoe toe cover black 1 ( 8.99 $)Airport Tea - Buy Tea Online | Darjeeling, Black, White, Flavoured and Green TeaUniversal vehicle 12v 24v 3port usb 1a 2a 2 1a dc car charger usb power adapter ( 1.99 $)Ms cat hair 7a peruvian virgin hair with closure 3 bundles ombre weave with closure 1b burgundy ombre human hair with closure ( 105.49 $)2016 pu leather tassel women handbags designer retro bolsas mujer shopping tote lady bags sac a main fashion shoulder bags l1077 ( 24.99 $)2016 new arrival 8a grade unprocessed u part wig brazilian virgin hair glueless wavy u part ( 140.00 $)Professional hair clipper cordless&rechargeable 100-240v hair cutting machine hair trimmer free shipping hair shaver 4 comb ( 51.77 $)Mva men bags genuine leather hot sale man small crossbody shoulder bag vintage design male messenger bag man coin purse 701 ( 21.38 $)New Arrival styling tools Animal crackers elastic hair bands headwear hair accessories for women girl children make you fashion ( 0.68 $)Multicolor optical print silk square scarf ( 148.28 $) MissoniBrazilian virgin hair straight 7a virgin brazilian straight hair 4 bundles mink brazilian straight virgin human ( 62.40 $)Virgin human hair full lace wig glueless brazilian body wave full lace human hair wigs for ( 138.00 $)UMI Super 4G Phablet-259.90 $ 54bb.jpg
Discounts! best ranked products

progect11.jpg
Products which fall under this return policy can be returned domestically, as long as they are unused and in the original packaging. No questions asked!
If a product that falls under this guarantee is found to be counterfeit, you will get a full refund (shipping costs included).

buy.png

READ MORE
Sverhestestvennoe (4 sezon)
13 Inch Wool Felt Envelop Notebook Bag ( $6.11 )
ZMTREE 2016 New Bandage Bikinis Sexy Swimwear Women Swimsuit Bathing Suit Female Brazilian Bikini Set maillot de bain Biquini ( 17.00 $)
Trangu M100 Shell Shape Bluetooth V4.0 + EDR Speaker-47.86 $
Rock 1m Micro USB Sync Cable with 8 Pin Adapter Charging Cable for Samsung S6 Edge Plus iPhone 6 / 6S / 6 Plus / 6S Plus ( $3.04 )
Kto takoj Garri Kellerman i pochemu on govorit obo mne uzhasnie veshi?
Painting by numbers drawing by numbers coloring by numbers decoracion hogar diy wall pictures for bedroom cuadros de lienzo ( 16.56 $)
Tehnologii virtualnoj realnosti nachali primenyatsya v multiplikacii. (Video)
Junsun a7810 car dvr camera ambarella a7la70 with speedcam fhd 1080p 60fps video recorder registrar night vision dash cam ( 130.35 $)
5.5 inch blackview e7s smartphone mt6580 quad core 2gb 16gb 1280x720 mobile phone android 6.0 fingerprint 8.0mp unlocked phone ( 69.99 $)
Mens black leather and signature stripe interior fold over card wallet ( 168.50 $) Paul Smith
1.8m fishing rod carbon spinning fishing rod vara de pesca 2-section medium carp fishing pesca lure rod olta ( 12.39 $)
Umi Plus 5.5 inch 2.5D Arc Screen Android 6.0 4G Phablet Helio P10 Octa Core 1.8GHz 4GB RAM 32GB ROM Fingerprint Scanner Two-tone Flashlight Type-C HiFi 266.95$
Supermarket products "CUBISM"
AGM X1 4G Phablet ( 249.99 $)


110bb.png

#12 Miguceamma

Miguceamma

    MiguPenjisse

  • Usuários
  • 13201 posts

Posted 28/10/2017, 03:39

Zentel Cod Accepted Overseas Generic Dutasteride Internet Visa Cod Without Dr Approval Cialis Brand Overnight Delivery viagra Amoxicillin Prescription
Canadian Pharmacy 1 online pharmacy Dapoxetin Kaufen Priligy Rezept Prix Officiel Cialis Pharmacie
Cialis Super Active 100mg viagra online Sildenafil Espana

#13 RonsisM

RonsisM

    Super Veterano

  • Usuários
  • 15724 posts
  • Sexo:Masculino
  • Localidade:Plovdiv

Posted 29/10/2017, 16:37

Priligy Testimonials online pharmacy Medecine Misoprostol Propecia Absetzen

#14 HaroNism

HaroNism

    Super Veterano

  • Usuários
  • 15385 posts
  • Sexo:Masculino
  • Localidade:San Miguel de Tucuman

Posted 02/11/2017, 06:01

Lioresal Acheter France Viagra Combien De Temps Avant Canadian Medstore viagra Cialis 10 Mg Erfahrung Keflex Mixed With Alcohol How To Buy Macrobid
Cytotec Une Journee Cheap Lasix Order Ed Pills Comparison viagra Propecia Prostata Efectos Secundarios Cialis Rischio Infarto Plant Vigra Wholesale

#15 Miguceamma

Miguceamma

    MiguPenjisse

  • Usuários
  • 13201 posts

Posted 08/11/2017, 01:21

Propecia Finasteride Cost Buy Mitazapine In Uk Pharmacies Shipping To Usa viagra Keflex For Toddler Levitra 20mg Bayer Zithromax How Fast Does It Work




1 user(s) are reading this topic

0 membro(s), 1 visitante(s) e 0 membros anônimo(s)

IPB Skin By Virteq