Coba ganti eventny di onKeyUp (saat keyboard diangkat --setelah dipencet) dengan script seperti ini:
Private Sub Text2_KeyUp(KeyCode As Integer, Shift As Integer)
If Text2 <> "" Then
Text2 = UCase(Text2)
End If
End Sub
Semoga bisa membantu dan memberi semangat.
Hariyanto
--------------------------------------------
On Sat, 11/6/16, yadi supriyadi yadisupriyadi83@yahoo.co.id [belajar-access] <belajar-access@yahoogroups.com> wrote:
Subject: [belajar-access] Huruf kapital otomatis
To: belajar-access@yahoogroups.com
Date: Saturday, 11 June, 2016, 10:04 AM
Dear access mania
Mohon pencerahannya untuk penulisan
huruf kapital otomatis, sy sdh mencoba code bulider pada
even change :
Text1.text = Ucase
(text1.text)
Namun
tidak berhasil..
SalamYadi
Terkirim dari Samsung
Mobile
#yiv8333900722 #yiv8333900722 --
#yiv8333900722ygrp-mkp {
border:1px solid #d8d8d8;font-family:Arial;margin:10px
0;padding:0 10px;}
#yiv8333900722 #yiv8333900722ygrp-mkp hr {
border:1px solid #d8d8d8;}
#yiv8333900722 #yiv8333900722ygrp-mkp #yiv8333900722hd {
color:#628c2a;font-size:85%;font-weight:700;line-height:122%;margin:10px
0;}
#yiv8333900722 #yiv8333900722ygrp-mkp #yiv8333900722ads {
margin-bottom:10px;}
#yiv8333900722 #yiv8333900722ygrp-mkp .yiv8333900722ad {
padding:0 0;}
#yiv8333900722 #yiv8333900722ygrp-mkp .yiv8333900722ad p {
margin:0;}
#yiv8333900722 #yiv8333900722ygrp-mkp .yiv8333900722ad a {
color:#0000ff;text-decoration:none;}
#yiv8333900722 #yiv8333900722ygrp-sponsor
#yiv8333900722ygrp-lc {
font-family:Arial;}
#yiv8333900722 #yiv8333900722ygrp-sponsor
#yiv8333900722ygrp-lc #yiv8333900722hd {
margin:10px
0px;font-weight:700;font-size:78%;line-height:122%;}
#yiv8333900722 #yiv8333900722ygrp-sponsor
#yiv8333900722ygrp-lc .yiv8333900722ad {
margin-bottom:10px;padding:0 0;}
#yiv8333900722 #yiv8333900722actions {
font-family:Verdana;font-size:11px;padding:10px 0;}
#yiv8333900722 #yiv8333900722activity {
background-color:#e0ecee;float:left;font-family:Verdana;font-size:10px;padding:10px;}
#yiv8333900722 #yiv8333900722activity span {
font-weight:700;}
#yiv8333900722 #yiv8333900722activity span:first-child {
text-transform:uppercase;}
#yiv8333900722 #yiv8333900722activity span a {
color:#5085b6;text-decoration:none;}
#yiv8333900722 #yiv8333900722activity span span {
color:#ff7900;}
#yiv8333900722 #yiv8333900722activity span
.yiv8333900722underline {
text-decoration:underline;}
#yiv8333900722 .yiv8333900722attach {
clear:both;display:table;font-family:Arial;font-size:12px;padding:10px
0;width:400px;}
#yiv8333900722 .yiv8333900722attach div a {
text-decoration:none;}
#yiv8333900722 .yiv8333900722attach img {
border:none;padding-right:5px;}
#yiv8333900722 .yiv8333900722attach label {
display:block;margin-bottom:5px;}
#yiv8333900722 .yiv8333900722attach label a {
text-decoration:none;}
#yiv8333900722 blockquote {
margin:0 0 0 4px;}
#yiv8333900722 .yiv8333900722bold {
font-family:Arial;font-size:13px;font-weight:700;}
#yiv8333900722 .yiv8333900722bold a {
text-decoration:none;}
#yiv8333900722 dd.yiv8333900722last p a {
font-family:Verdana;font-weight:700;}
#yiv8333900722 dd.yiv8333900722last p span {
margin-right:10px;font-family:Verdana;font-weight:700;}
#yiv8333900722 dd.yiv8333900722last p
span.yiv8333900722yshortcuts {
margin-right:0;}
#yiv8333900722 div.yiv8333900722attach-table div div a {
text-decoration:none;}
#yiv8333900722 div.yiv8333900722attach-table {
width:400px;}
#yiv8333900722 div.yiv8333900722file-title a, #yiv8333900722
div.yiv8333900722file-title a:active, #yiv8333900722
div.yiv8333900722file-title a:hover, #yiv8333900722
div.yiv8333900722file-title a:visited {
text-decoration:none;}
#yiv8333900722 div.yiv8333900722photo-title a,
#yiv8333900722 div.yiv8333900722photo-title a:active,
#yiv8333900722 div.yiv8333900722photo-title a:hover,
#yiv8333900722 div.yiv8333900722photo-title a:visited {
text-decoration:none;}
#yiv8333900722 div#yiv8333900722ygrp-mlmsg
#yiv8333900722ygrp-msg p a span.yiv8333900722yshortcuts {
font-family:Verdana;font-size:10px;font-weight:normal;}
#yiv8333900722 .yiv8333900722green {
color:#628c2a;}
#yiv8333900722 .yiv8333900722MsoNormal {
margin:0 0 0 0;}
#yiv8333900722 o {
font-size:0;}
#yiv8333900722 #yiv8333900722photos div {
float:left;width:72px;}
#yiv8333900722 #yiv8333900722photos div div {
border:1px solid
#666666;height:62px;overflow:hidden;width:62px;}
#yiv8333900722 #yiv8333900722photos div label {
color:#666666;font-size:10px;overflow:hidden;text-align:center;white-space:nowrap;width:64px;}
#yiv8333900722 #yiv8333900722reco-category {
font-size:77%;}
#yiv8333900722 #yiv8333900722reco-desc {
font-size:77%;}
#yiv8333900722 .yiv8333900722replbq {
margin:4px;}
#yiv8333900722 #yiv8333900722ygrp-actbar div a:first-child {
margin-right:2px;padding-right:5px;}
#yiv8333900722 #yiv8333900722ygrp-mlmsg {
font-size:13px;font-family:Arial, helvetica, clean,
sans-serif;}
#yiv8333900722 #yiv8333900722ygrp-mlmsg table {
font-size:inherit;font:100%;}
#yiv8333900722 #yiv8333900722ygrp-mlmsg select,
#yiv8333900722 input, #yiv8333900722 textarea {
font:99% Arial, Helvetica, clean, sans-serif;}
#yiv8333900722 #yiv8333900722ygrp-mlmsg pre, #yiv8333900722
code {
font:115% monospace;}
#yiv8333900722 #yiv8333900722ygrp-mlmsg * {
line-height:1.22em;}
#yiv8333900722 #yiv8333900722ygrp-mlmsg #yiv8333900722logo {
padding-bottom:10px;}
#yiv8333900722 #yiv8333900722ygrp-msg p a {
font-family:Verdana;}
#yiv8333900722 #yiv8333900722ygrp-msg
p#yiv8333900722attach-count span {
color:#1E66AE;font-weight:700;}
#yiv8333900722 #yiv8333900722ygrp-reco
#yiv8333900722reco-head {
color:#ff7900;font-weight:700;}
#yiv8333900722 #yiv8333900722ygrp-reco {
margin-bottom:20px;padding:0px;}
#yiv8333900722 #yiv8333900722ygrp-sponsor #yiv8333900722ov
li a {
font-size:130%;text-decoration:none;}
#yiv8333900722 #yiv8333900722ygrp-sponsor #yiv8333900722ov
li {
font-size:77%;list-style-type:square;padding:6px 0;}
#yiv8333900722 #yiv8333900722ygrp-sponsor #yiv8333900722ov
ul {
margin:0;padding:0 0 0 8px;}
#yiv8333900722 #yiv8333900722ygrp-text {
font-family:Georgia;}
#yiv8333900722 #yiv8333900722ygrp-text p {
margin:0 0 1em 0;}
#yiv8333900722 #yiv8333900722ygrp-text tt {
font-size:120%;}
#yiv8333900722 #yiv8333900722ygrp-vital ul li:last-child {
border-right:none !important;
}
#yiv8333900722
Posted by: hari yanto <har_i20002000@yahoo.com>
Reply via web post | • | Reply to sender | • | Reply to group | • | Start a New Topic | • | Messages in this topic (2) |
Tidak ada komentar:
Posting Komentar