 |
|
 |
Hi There,
We are interested in using your code for a commercial product but I notice it is not covered by any license type.Would you be able to provide a license type or permission to freely use your code?
Thanks,
Allan
|
|
|
|
 |
|
 |
Olá!!
Estou tentando utilizar seu framework mas estou tendo alguns problemas ... primeiro era os ressources que estavam faltando, removi do projeto os que faltavam e ficou compilável. Porém se eu tentar utilizar a MessageBox do form de exemplo, dá o erro abaixo ... estou iniciando em C# e não estou conseguindo resolver. Pode dar-me uma ajuda ???
ERRO:
Additional information: Could not find any resources appropriate for the specified culture (or the neutral culture) in the given assembly. Make sure "PallaControls.Resources.Resources.Files.Common.CommonResources.resources" was correctly embedded or linked into assembly "PallaControls.Resources".
baseName: PallaControls.Resources.Resources.Files.Common.CommonResources locationInfo: resource file name: PallaControls.Resources.Resources.Files.Common.CommonResources.resources assembly: PallaControls.Resources, Version=1.0.0.4, Culture=neutral, PublicKeyToken=4f572b98e7a924aa
Aguardo contato !!
Grato
Ricardo Rocha
PS.: Utilizo o VS2003
|
|
|
|
 |
|
 |
Ricardo,
Vamos por partes, o erro que você está obtendo deve ser pela falta dos arquivos que você removeu. Utilize o utilitário resgen para criar os arquivos de recursos que faltam e tenha certeza de utilizá-los como embedded no projeto de recursos.
A segunda parte é a seguinte, se você esta pensando em utilizar esta biblioteca para fins profissionais, aconselho fortemente que você tome cuidado. Ela tem falhas graves de segurança, gereciamento de memória entre outras. De qualquer maneira, caso você não consiga compilar corretamente em seu ambiente, entre em contato que terei o maior prazer em ajudar. Compilar com certeza compila!
[]'s
Marcelo Palladino
|
|
|
|
 |
|
 |
Olá Palladino,
Eu tentei utilizar o resgen conforme li num tópico abaixo, mas levei um laço dele .... hehehehehe !!!
Os arquivos que faltam são "CommomResources.en.ressources", "CommomResources.es-DO.ressources", "CommomResources.ressources", "Windowscontrolsresources.en.resources", "Windowscontrolsresources.es-DO.resources" e "Windowscontrolsresources.resources" ...
Realmente eu estava pensando em utilizar para fins profissionais, gostei bastante de alguns componentes dela. Você conhece alguma outra biblioteca free que tenha bons componentes visuais e não tenha os mesmos problemas ???
O meu projeto do jeito que está agora, após remover os arquivos listados acima que ficaram marcado com a "placa" amarela e sinal de exclamação, está compilável ... mas daí tenho o problema que postei.
[]'s
Ricardo Rocha
|
|
|
|
 |
|
 |
Fala, Ricardo.
Em primeiro lugar, desculpe-me pela demora em responder. A coisa não anda nada fácil. É tanta coisa para fazer que às vezes de esqueço de algumas...
Vamos lá, não sei se você já resolveu o problema com os arquivos .resources, mas a coisa é feita assim:
No Visual Studio .NET Command Prompt, vá até o diretório "PallaControls\PallaControls.Resources\Resources\Files\Common". Uma vez lá, use estes três comandos:
resgen CommonResources.resx
resgen CommonResources.en.resx
resgen CommonResources.es-DO.resx
Depois vá até o diretório "PallaControls\PallaControls.Resources\Resources\Files\WindowsControls" e, da mesma forma, use os três comandos abaixo:
resgen WindowsControlsResources.resx
resgen WindowsControlsResources.en.resx
resgen WindowsControlsResources.es-DO.resx
Bem, a teoria por trás disto é simples. Basta você dar uma lida no help do comando resgen e ler um pouco também sobre recursos "Embedded".
Quanto a alguma biblioteca boa, há várias. A maioria paga. Desta biblioteca o que você pode fazer é dar uma tapa na parte dos controles WindowsForms. Procure algo sobre a Enterprise Library da Microsoft. É de graça e vem com código fonte (excelente). Outra coisa, nem pense em usar nada da parte de segurança (o certo era chamar de insegurança) desta biblioteca. Caguei legal alí . Falta de conceito da plataforma, na época. Assim que tiver um tempo vou subir uma versão mais limpa desta bagunça toda.
[]'s
Marcelo Palladino
|
|
|
|
 |
|
 |
Hi,
I just wanted to thank you for making these controls available. Keep up the good work. BTW: I had the same "Resources" problem as some of the others but I just removed the "*.resources" files and set the ".resx" files as embedded resources. Thanks again.
Gabe
|
|
|
|
 |
|
 |
Hi,
I have a problem with integrating the controls into my own project.
1. I added all the namespaces into my project.
2. I created a simple form
3. Added one Label and one TexBox control on the form and compiled
4. (as I saw in an earlier correspondece I run resgen.exe against the .resx files and added the .resources file to the project)
The problem:
When I start the application, and click on the label the follwing exception is thrown:
--------------------------
An unhandled exception of type 'System.Resources.MissingManifestResourceException' occurred in system.windows.forms.dll
Additional information: Could not find any resources appropriate for the specified culture (or the neutral culture) in the given assembly. Make sure "PallaControls.Resources.Resources.Files.Common.CommonResources.resources" was correctly embedded or linked into assembly
--------------------------
Does anyone has the same problem ?
Any suggestions will be highly appreciated.
Thank you in advance.
|
|
|
|
 |
|
 |
It seems that I found what was causing the exception I mentioned.
I simply removed all the validation methods from the TextBox control. (ValidateIP, phonenumber ... ) since it looks like they are related to some regional culture.
|
|
|
|
 |
|
 |
It looks like this project is dead. Too bad.
It's a pretty good library if you dump out the code ripped from DotNetMagic.
Here is some code that I added to combobox.cs so that the textbox will autocomplete with the closest match.
protected override void OnKeyPress(KeyPressEventArgs e)
{
base.OnKeyPress (e);
if (Char.IsControl(e.KeyChar))
{
return;
}
string ToFind = mpTextBox.Text.Substring(0, mpTextBox.SelectionStart) + e.KeyChar;
int index = this.internalListBox.FindStringExact(ToFind);
if (index == -1 )
{
index = this.internalListBox.FindString(ToFind);
}
if (index == -1 )
{
return;
}
this.internalListBox.SelectedIndex = index;
mpTextBox.SelectionStart = ToFind.Length;
mpTextBox.SelectionLength = mpTextBox.Text.Length - mpTextBox.SelectionStart;
e.Handled = true;
}
|
|
|
|
 |
|
 |
for some reason the project is not compiling in vs.net 2003; I intend to use these controls ina project from school, can anyways provide me with compiled dll?
Julio Diaz
|
|
|
|
 |
|
 |
The some resource files in PallaControls.Resources do not exist. They need to be removed from the project file
When you Open Solution Explorer
Select PallaControls.Resources project
Select Resources
Select Files
Select Common and remove all files with yellow triangle with exclamation mark
Select WindowsControls and remove all files with yellow triangle with exclamation mark
This should slove the problem
Regards Olof Szymczak
|
|
|
|
 |
|
 |
Thank you very much for your message.
It really solves a problem.
I compiled a library not only under vs2003, but under vs2005
|
|
|
|
 |
|
 |
Hi Palladino,
In your source zip, following files are missing
1)WindowsControlsResources.resources
2)WindowsControlsResources.es-DO.resources
3)windowscontrolsresources.en.resources
4)CommonResources.en.resources
5)CommonResources.es-DO.resources
6)CommonResources.en.resources
|
|
|
|
 |
|
 |
Hello,
In the original version I sent these files (perhaps the administrators have removed to turn the smaller file). In every case, it is enough you to execute the resgen. Example:
resgen CommonResources.en.resx
In case it doesn't work, enter in contact. Hugs,
Marcelo Palladino
Brazil
|
|
|
|
 |
|
 |
OLD: protected virtual void OnRemovingItem(object sender, CollectionChangeEventArgs e){ MenuListitem item = this.items[e.Index]; if (item!=null) { this.RemoveItem(item, e.Index); this.Invalidate(); } } protected virtual void OnRemovedItem(object sender, CollectionChangeEventArgs e){ MenuListitem = this.items[e.Index]; if (item!=null) { this.RemoveItem(item, e.Index); this.Invalidate(); } } NEW: protected virtual void OnRemovingItem(object sender, CollectionChangeEventArgs e){ MenuListitem item = this.items[e.Index]; if (item!=null) { this.RemoveItem(item, e.Index); this.Invalidate(); } } protected virtual void OnRemovedItem(object sender, CollectionChangeEventArgs e){ }
|
|
|
|
 |
|
 |
Hi Boss
How i can compile it..
It showing many errors..
Pls help me
Bye
krishnadk
|
|
|
|
 |
|
 |
This is not building in VS.NET 2003.. It can't find many files ending in .resources
|
|
|
|
 |
|
 |
I want to accomplish when control receive focus the text to be selected. Current behaviour is, If the control have a non empty text entered in design or with code and it's not updated with user input the text is selected. But if you type a text or change it, it will not be selected. I search for properties SelectionStart and SelectionLength but I didn’t find any. Can you please send me a tip to solve this problem. My idea is to control selecting text on gotfocus with bool property.
By the way these controls are excellent. Bravo.
|
|
|
|
 |
|
 |
Palladino, gostaria muito de me corresponder com vc para poder aumentar meus conhecimento na plataforma e expor algumas ideias em relação a controles que poderiam ser adicionados...
Fico no aguardo de uma resposta sua... laudeci@difer.com.br
Laudeci Oliveira
Microsoft Certified Professional
|
|
|
|
 |
|
 |
I put a panel control in a form and set its color. Then i put a tabcontrol on the panel. When I set the BackColor property of the tabcontrol and compile the program, the control defaults to it's m_TabControlBackColorColor property. I have been going through the code to try to fix the problem, but I still can't figure it out. If you have a chance to look at this problem any help would be greatly appriciated. Thanx a lot for making these control.;P
After all is said and done, usually more is said than done.
|
|
|
|
 |
|
 |
Hi, Your library is very good and works great but there is a little problem in the Combo Box :
Why the scroll bars don't appear if the items count is more than the VisibleItems property ?
|
|
|
|
 |
|
 |
Hi, and congratulations for your great library !
I just started using it two days ago, and it seems fantastic !
Just a little problem: when adding custom object as combobox items, they are correctly displayed, but when I choose one of them the combo text is not refreshed.
I started walking along your code, and i think i noticed a little bug.
I attach my correction, I don't know if it's the better solution since i really do not know your code in depth and how it is structured, but it seems to work ...
This is what i did:
// Inside ComboListBox class
protected override void WndProc(ref Message m)
{
if(m.Msg == (int)Msgs.WM_LBUTTONUP)
{
ComboPopUp frm = (ComboPopUp)this.FindForm();
object pitem = null;
if (frm.SelectedItem is DataRowView)
{pitem = ((DataRowView)frm.SelectedItem).Row[this.DisplayMember.Substring(this.DisplayMember.IndexOf(".")+1)];}
else if (frm.SelectedItem is string)
{pitem = (string)frm.SelectedItem;}
// MY ADDITION //
else {
pitem = frm.SelectedItem.ToString ();
}
int index = ((ComboBox)frm.Parent).InternalListBox.FindStringExact((string)pitem);
// MY ADDITION . I commented the following line:.....
// if (index > -1) ((ComboBox)frm.Parent).InternalListBox.SelectedIndex = index;
// MY ADDITION .... and substituted it with the following one
if (index > -1) ((ComboBox)frm.Parent).SelectedIndex = index;
// The rest is as before
frm.Close();
return;
}
Please let me know if i was right, or if you have a better way to solve the issue.
Howewer, thanks again for your grate job !
Claudio
|
|
|
|
 |
|
 |
Hi Cláudio,
In first place, excuse me for the delay in answering and thank you for the sent correction. It worked very well and it is exactly as it should be. Thank you once again. If you does more some good thing, be comfortable to enter in contact.
Hugs,
Marcelo Palladino
Brazil
|
|
|
|
 |
|
 |
That was a pleasure !
I thank you again for your excellent job, I'm considering about using it inside my project in order to give it a much better look.
If I should find any other issue worth mentioning about your library, I'll surely post you my suggestions !
Best Regards
Claudio
Today is only yesterday's tomorrow ....
|
|
|
|
 |
|
 |
I just started using the Palla library to replace LumiSoft's flat look. (Sorry Lumisoft!) Anyways, I'm ready to roll out a program internally here at work and was wondering if version 1.7 is the most up-to-date version you have available. I'd hate to roll out the app and then there was a bug-fix.
Keep up the good work!
|
|
|
|
 |