Page 4 of 4
Re: AllowLVEdits Version 2.2
Posted: Fri Jul 01, 2016 11:56 am
by alter Mann
Re: AllowLVEdits Version 2.2
Posted: Sat Jul 16, 2016 2:00 pm
by dobro
Yes !!!
Thanks

Re: AllowLVEdits Version 2.2
Posted: Sat Jul 16, 2016 5:39 pm
by netmaestro
iirc the version I posted was one I ripped from one of my production programs and the capitals are required for that one (it's for filling out a government form). You may have to make one or two tweaks like this one to make it more universally usable.
Re: AllowLVEdits Version 2.2
Posted: Wed Sep 21, 2016 11:27 am
by Kwai chang caine
Hello Net Master
First thanks a lot for this giant tool, that i try to include in my code
But like usually KCC have breaking the toy

After embeded your module in my code, i have search a long time what it can breaking a so amazing code, and never i believe it's just one little PB native function

But for make shit,.. KCC always found a way
Run this code please, and try to edit a cell :
Code: Select all
UseModule LVEdit
LoadFont(0, "Courier New",12)
OpenWindow(0,0,0,840,700,"Cash Flow Budget",#PB_Window_ScreenCentered|#PB_Window_SystemMenu)
ListIconGadget(0,0,0,840,700,"",0,#PB_ListIcon_GridLines|#PB_ListIcon_FullRowSelect)
AddGadgetColumn(0,1,"Number", 150)
SetGadgetFont(0,FontID(0))
GadgetToolTip(0, " Hello i'm a little ToolTips of KCC and at me alone, i misfire all the fantastic job of master NetMaestro (like usually) ") ; < ========== Black field
LVEdit::StartEditing(0,0)
For i = 1 To 35
AddGadgetItem(0, -1, Chr(10) + Trim(Str(i)))
Next
Repeat
EventID = WaitWindowEvent()
Until EventID = #PB_Event_CloseWindow
LVEdit::StopEditing()
Again thanks for have sharing this jewel 
Re: AllowLVEdits Version 2.2
Posted: Wed Sep 21, 2016 4:48 pm
by netmaestro
I'm trying to discover why the addition of a tooltip to the host gadget would cause this, so far no luck though. I'll keep looking until I find it and hopefully I can come up with a solution before long. You didn't do anything wrong though KCC, it's perfectly reasonable to expect that a tooltip could be added here without blowing anything up.
Re: AllowLVEdits Version 2.2
Posted: Wed Sep 21, 2016 8:27 pm
by Kwai chang caine
It's incredible all the strange behavior when you create a complex and wonderfull code like yours.
They are always a thing who not works, and it's impossible to test all.
I'm happy to read it's not my fault.
Furthermore i need to hide a column.
I have use send message for modify the width to zero.
Because setgadgetattribute not really works
Is it possible to hide really a column, without chance the user make it visible with the mouse in the header
Again thanks Master for make this jewel of code.
I love it
Have a very good night
Re: AllowLVEdits Version 2.2
Posted: Thu Oct 13, 2016 10:16 am
by Kwai chang caine
I manage more than 15 000 lines with this splendid code
So it's very long to load
Then my idea is, mixing this code with the virtual listicon of RASHAD
http://www.purebasic.fr/english/viewtop ... 05#p403305
Believe you it's possible ???? or it's not go to try
