Page 1 of 1
How To remove some fields?
Posted: 2018-10-05 13:36:08
by RANICUAJO
Hi!
I have used AMC for many years, and there are many fields that I do not use. I would like to remove them to have a clearer view.
Now i am using 4.2.1 version
Some fields I have reused with other names by editing the language file, but there are still some that i would like to remove it.
Also i would like to resize fields like "coments" or "description"
Is this possyble?
Thanks for all
Re: How To remove some fields
Posted: 2018-10-05 13:53:38
by antp
You can hide fields by setting the Visible property to 0
Or change Left, Top, Width and Height to move and resize fields, but that can become tricky as some are handled by code to resize automatically...
cf
viewtopic.php?f=5&t=6278
viewtopic.php?p=20431
Re: How To remove some fields
Posted: 2018-10-05 15:04:40
by RANICUAJO
Thanks ant for the quick answer and for you excellent programa. i had used it for many years for various catalog
and I am very grateful for it
Those attributes that you say are also in the language file? (in my case Spanish). I can´t see it
I have edited some parts of the Frames section in spanish.lng, (for example LSource, EVideoBitrate...) but i don´t see the changes
Nice day!!
;**********
;* Frames *
;**********
[TMovieFrame]
LMedia.Caption=Cód. del soporte:
LMediaType.Caption=Tipo del Soporte:
LSource.Caption=Opinión:
LSource.visible=0
LSource.tabstob=0
LDate.Caption=Añadido el:
LDate.visible=0
LDate.tabstop=0
LBorrower.Caption=Estado:
LBorrower.visible=0
LBorrower.tabstop=0
LRating.Caption=Calificación:
LOriginalTitle.Caption=Título Original:
LTranslatedTitle.Caption=Título Traducido:
LDirector.Caption=Director:
LProducer.Caption=Productor:
LCountry.Caption=País:
LCategory.Caption=Categoría:
LYear.Caption=Año:
LLength.Caption=Duración:
LLengthMin.Caption=min.
LActors.Caption=Intérpretes se puede cambiar esto:
LURL.Caption=email:
LDescription.Caption=Descripción:
LComments.Caption=Comentarios:
LVideoFormat.Caption=Formato Video:
LVideoKbps.Caption=kbps
LAudioFormat.Caption=Formato Audio:
LAudioKbps.Caption=kbps
LResolution.Caption=Resolución:
LFramerate.Caption=Framerate:
LFramerateFPS.Caption=fps
LSize.Caption=Tam. Archivos:
LDisks.Caption=Discos:
LLanguages.Caption=Grupos/ Sagas:
LSubtitles.Caption=Características:
EMedia.Hint=|Código del soporte. Número o código de barras del soporte
EMediaType.Hint=|Tipo Soporte/Media
ESource.Hint=|Opinión (valoración propia de la película)
EDate.Hint=|Fecha cuando se añadió pelicula al catálogo
EBorrower.Hint=|Vista o pendiente de ver...
ERating.Hint=|Calificación, de 0 a 10
EOriginalTitle.Hint=|Título Original
ETranslatedTitle.Hint=|Título Traducido
EDirector.Hint=|Director
EProducer.Hint=|Productor
ECountry.Hint=|País
ECategory.Hint=|Categoría
EYear.Hint=|Año
ELength.Hint=|Duración (minutos)
EActors.Hint=|Lista de intérpretes
EURL.Hint=|Sitio Web
EDescription.Hint=|Descripción
EComments.Hint=|Comentarios
EVideoFormat.Hint=|Formato Video/codec
EVideoBitrate.Hint=|Bitrate Video
EVideoBitrate.top=105
EVideoBitrate.left=445
EVideoBitrate.width=500
EAudioFormat.Hint=|Formato Audio/codec
EAudioBitrate.Hint=|Bitrate Audio
EResolution.Hint=|Resolución Video
EFramerate.Hint=|Framerate Video
ESize.Hint=|Tamaños de los Archivos
EDisks.Hint=|Número de discos o cintas
ELanguages.Hint=|Si es parte de una saga, grupo.... notas personales
ESubtitles.Hint=|Sus características principales que la definen.... notas personales
Re: How To remove some fields
Posted: 2018-10-05 18:21:01
by antp
I'm not sure but maybe the uppercase/lowercase is important (as here you've put all in lowercase)
Re: How To remove some fields
Posted: 2018-10-07 10:55:40
by RANICUAJO
Thanks ant,
I'm still investigating the posts you pointed to me and also a language pack included as an example in the the program download called "ChangeFieldsPosition.lng"
This is the content
[FileInformation]
Icon=Qk32AAAAAAAAAHYAAAAoAAAAEAAAABAAAAABAAQAAAAAAIAAAAAzCwAAMwsAABAAAAAQAAAAAAAAAFAAAABmAAAAmAAAAK4AAACYMgAA/QAyAP9mMwAAAJgAAAC0AAAA/QBlZf8AmZmZAP//mQD//8sA////AP//////////AAAAAAAAAAAJUSLIjCIVkAHqQ+quNK1gAj6j6q4642ACM+rqrq4zYAzu7uqu7u7gCKqqqqqqqrAIqqqqqqqqsAzu7uqu7u7gAjTq6q6uM2ACPqPqrjrjYAHqQ+quM65gCXZm675mZrAAAAAAAAAAAP//////////
Name=*Change fields position*
LocalName=Example
Encoding=windows-1252
Version=4.2.1
VersionFormat=4.2.1
Comments=Example to change position, size and resize properties of some fields. This "language" file need to be loaded at startup of AMC to change fields position correctly. You can also copy the content of this file after [TMovieFrame] in your language file at the same place.
Authors=Mickaël Vanneufville|
mickael.vanneufville@gmail.com
;**********
;* Frames *
;**********
[TMovieFrame]
; Change fields resize by code
;PanelMain.Tag=0 : Resize by code fields Description, Comments, Category and Certification (by default)
;PanelMain.Tag=1 : Resize by code fields Description and Comments only
;PanelMain.Tag=2 : Resize by code fields Category and Certification only
;PanelMain.Tag=3 : No resize by code for all fields
PanelMain.Tag=3
; Change fields resize properties
ECategory.Anchors=[akTop, akLeft, akRight]
ECertification.Anchors=[akTop, akRight]
LCertification.Anchors=[akTop, akRight]
EDescription.Anchors=[akTop, akLeft, akRight, akBottom]
; Change fields position and size
LDescription.Top=223
EDescription.Top=219
EDescription.Height=0
LComments.Top=225
EComments.Top=221
EComments.Height=45
i see some fields moved in this example (coments, description), and I will investigate how it has been done.
My objetive for example is to join comments and description in only one bigger field
Thanks again
Re: How To remove some fields?
Posted: 2018-10-07 13:58:31
by RANICUAJO
After many years of use, only now I have discovered the html view, it is fantastic
I'll look in the forum about how to create a custom html template. I know how to use AMCReport to print lists, but not the html editor
thanks
Re: How To remove some fields?
Posted: 2018-10-09 12:46:14
by RANICUAJO
I have created and html clearly view in this page
https://html-online.com/editor/
This is the code, can be copied in a txt file and rename as html
<div>
<h2>$$ITEM_TRANSLATEDTITLE</h2>
<div>Soporte: $$ITEM_MEDIA</div>
<div>Sagas: $$ITEM_LANGUAGES</div>
<div>Género: $$ITEM_CATEGORY</div>
<div>Año: $
$ITEM_YEAR</div>
<h4>COMENTARIOS:</h4>
<div>
<p>$$ITEM_DESCRIPTION</p>
<h4>NOTAS PERSONALES:</h4>
<p>($$ITEM_SUBTITLES)</p>
</div>
<h4>REPARTO:</h4>
<div>$$ITEM_ACTORS</div>
</div>
(I use the languages section for "sagas" , and the subtitles section for personal notes)
Re: How To remove some fields?
Posted: 2018-12-10 04:41:54
by ghorbanpour
Hello thanks for all
I had exactly the same problem...
With these tips, I could remove the fields