Wah , salah yach...
Sory dech klo gitu.
BTW bang Dr.Ajat(keren juga namanya bowz....)
Ada code buat drag and drop Grid ga ?Binun nentuin posisi X ama Ynya,
ga pernah tepat.
Misalnya aku drag dari FlexA ke FlexB, nah maunya di cell FlexB tepat
dimana kursor berada klo tombol mouse direlease isi cell dari FlexA
masuk ke FlexB. Gimana tuch....
maklumlah , masih belajar-2....
Yang aku buat sih seperti ini :
Private Sub FlexBarang_DragDrop(Source As Control, x As Single, Y As
Single)
Dim A As Integer
'Label2.Caption = "X = " & X & vbNewLine & "Y = " & Y & vbNewLine &
FlexBarang.CellHeight
A = (Y \ (FlexBarang.CellHeight + FlexBarang.GridLineWidth)) +
(FlexBarang.TopRow - 1)
If A <= 0 Or A > FlexBarang.Rows - 1 Then Exit Sub
FlexBarang.Row = A
If Source.Name = "FlexCari" And FlexBarang.TextMatrix(1, 2) <> "" And
(x > 250 And x < 1260) Then
FlexBarang.TextMatrix(FlexBarang.Row, 1) =
FrmSource.FlexCari.TextMatrix(FrmSource.FlexCari.Row, 1)
End If
End Sub
--- In [email protected], "Muhammad Sudrajat"
<[EMAIL PROTECTED]> wrote:
> Wuih,
>
> Mas, Naga..., buka Statusbar, tapi progressbar.....
>
> huehuheuhehuheuheuhee.........
>
>
> Dr Ajat
>
>
>
> ----- Original Message -----
> From: "Junias Sinaga" <[EMAIL PROTECTED]>
> To: <[email protected]>
> Sent: Monday, March 21, 2005 8:48 AM
> Subject: [ilkom_usu] Re: OCX untuk program VB
>
>
> >
> >
> > HUhahahah... baru tau klo Delta Force bisa buat component VB.
> > Mang bang drajat perlu status bar kaya mac buat apa ?Memperkeren
> > tampilan yach.....
> > Jarang sih ada component status bar, banyakan juga tombol, grid dsb...
> > Coba azha tanya di indoprog-VB ato programmer-VB, kali ada yang punya.
> >
> >
> > --- In [email protected], "Muhammad Sudrajat"
> > <[EMAIL PROTECTED]> wrote:
> > > huehuehuhehueuheuheuheuheuhe...., uhuk, uhuk.....
> > >
> > >
> > > Dr Ajat
> > >
> > > ----- Original Message -----
> > > From: <[EMAIL PROTECTED]>
> > > To: <[email protected]>
> > > Sent: Saturday, March 19, 2005 11:04 AM
> > > Subject: Re: [ilkom_usu] OCX untuk program VB
> > >
> > >
> > > >
> > > >
> > > > Klo ntu seh gw gak punya....
> > > > tapi klo Delta Force yg baru atau sekelas delta force gw ada
tuh....
> > > > fifa2005 juga ada sejalian NBA2005...
> > > > Jika perlu, lo tau kan mesti call kemana..:)
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > Yahoo! Groups Links
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> >
> >
> >
> >
> >
> >
> >
> > Yahoo! Groups Links
> >
> >
> >
> >
> >
> >
> >
------------------------ Yahoo! Groups Sponsor --------------------~-->
Ever feel sad or cry for no reason at all?
Depression. Narrated by Kate Hudson.
http://us.click.yahoo.com/Ntf6vA/esnJAA/d1hLAA/KbPolB/TM
--------------------------------------------------------------------~->
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ilkom_usu/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/